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:
@@ -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
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Docs
|
||||
name: docs
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -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:
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Security
|
||||
name: security
|
||||
|
||||
on:
|
||||
schedule:
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -20,3 +20,4 @@ patches
|
||||
*.exe
|
||||
tutorials
|
||||
.prove
|
||||
/target/
|
||||
|
||||
0
rust/Cargo.lock → Cargo.lock
generated
0
rust/Cargo.lock → Cargo.lock
generated
10
Cargo.toml
Normal file
10
Cargo.toml
Normal 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
1
rust/.gitignore
vendored
@@ -1,2 +1 @@
|
||||
/target
|
||||
**/*.rs.bk
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
[workspace]
|
||||
|
||||
members = [
|
||||
"taskchampion",
|
||||
"cli",
|
||||
"sync-server",
|
||||
"lib",
|
||||
"integration-tests",
|
||||
"xtask",
|
||||
]
|
||||
Reference in New Issue
Block a user