mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 09:53:08 +02:00
Update Taskwarrior workflows to include Rust
This commit is contained in:
parent
8c30400af3
commit
6a42cf00a2
2 changed files with 22 additions and 0 deletions
3
.github/workflows/rust-tests.yml
vendored
3
.github/workflows/rust-tests.yml
vendored
|
@ -1,3 +1,6 @@
|
|||
## Run the TaskChampion tests, using both the minimum supported rust version
|
||||
## and the latest stable Rust.
|
||||
|
||||
name: tests - rust
|
||||
|
||||
on:
|
||||
|
|
19
.github/workflows/tests.yaml
vendored
19
.github/workflows/tests.yaml
vendored
|
@ -1,3 +1,5 @@
|
|||
## Run the Taskwarrior tests, using stable rust to build TaskChampion.
|
||||
|
||||
name: tests
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
|
@ -46,6 +48,23 @@ jobs:
|
|||
continue-on-error: ${{ matrix.continue-on-error == true }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Cache cargo registry
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.cargo/registry
|
||||
key: ${{ runner.os }}-stable-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
|
||||
|
||||
- name: Cache cargo build
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: target
|
||||
key: ${{ runner.os }}-stable-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
|
||||
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: "stable"
|
||||
override: true
|
||||
- name: Build ${{ matrix.name }}
|
||||
env:
|
||||
DOCKER_REGISTRY: docker.pkg.github.com
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue