Update GitHub actions to work in Taskwarrior

This moves the workspace Cargo.toml to the root of the repository, so
that the "actions-rs/cargo" action can find it.
This commit is contained in:
Dustin J. Mitchell 2022-05-08 19:52:35 +00:00
parent 1df54125ea
commit 9f5994bfd1
No known key found for this signature in database
9 changed files with 19 additions and 19 deletions

View file

@ -1,4 +1,4 @@
name: Checks
name: checks
on:
push:
@ -10,7 +10,7 @@ on:
jobs:
clippy:
runs-on: ubuntu-latest
name: "Clippy"
name: "Check & Clippy"
steps:
- uses: actions/checkout@v2
@ -79,8 +79,8 @@ jobs:
- name: Create usage-docs plugin
run: cargo build -p taskchampion-cli --features usage-docs --bin usage-docs
- run: mdbook test docs
- run: mdbook build docs
- run: mdbook test rust/docs
- run: mdbook build rust/docs
fmt:
runs-on: ubuntu-latest

View file

@ -1,4 +1,4 @@
name: Docs
name: docs
on:
push:

View file

@ -1,4 +1,4 @@
name: Tests
name: tests - rust
on:
push:
@ -20,7 +20,7 @@ jobs:
- macOS-latest
- windows-latest
name: "Test - Rust ${{ matrix.rust }} on ${{ matrix.os }}"
name: "rust ${{ matrix.rust }} on ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
steps:

View file

@ -1,4 +1,4 @@
name: Security
name: security
on:
schedule:

1
.gitignore vendored
View file

@ -20,3 +20,4 @@ patches
*.exe
tutorials
.prove
/target/

View file

10
Cargo.toml Normal file
View file

@ -0,0 +1,10 @@
[workspace]
members = [
"rust/taskchampion",
"rust/cli",
"rust/sync-server",
"rust/lib",
"rust/integration-tests",
"rust/xtask",
]

1
rust/.gitignore vendored
View file

@ -1,2 +1 @@
/target
**/*.rs.bk

View file

@ -1,10 +0,0 @@
[workspace]
members = [
"taskchampion",
"cli",
"sync-server",
"lib",
"integration-tests",
"xtask",
]