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:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -10,7 +10,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
clippy:
|
clippy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: "Clippy"
|
name: "Check & Clippy"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@@ -79,8 +79,8 @@ jobs:
|
|||||||
- name: Create usage-docs plugin
|
- name: Create usage-docs plugin
|
||||||
run: cargo build -p taskchampion-cli --features usage-docs --bin usage-docs
|
run: cargo build -p taskchampion-cli --features usage-docs --bin usage-docs
|
||||||
|
|
||||||
- run: mdbook test docs
|
- run: mdbook test rust/docs
|
||||||
- run: mdbook build docs
|
- run: mdbook build rust/docs
|
||||||
|
|
||||||
fmt:
|
fmt:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
name: Docs
|
name: docs
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
name: Tests
|
name: tests - rust
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -20,7 +20,7 @@ jobs:
|
|||||||
- macOS-latest
|
- macOS-latest
|
||||||
- windows-latest
|
- windows-latest
|
||||||
|
|
||||||
name: "Test - Rust ${{ matrix.rust }} on ${{ matrix.os }}"
|
name: "rust ${{ matrix.rust }} on ${{ matrix.os }}"
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
name: Security
|
name: security
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -20,3 +20,4 @@ patches
|
|||||||
*.exe
|
*.exe
|
||||||
tutorials
|
tutorials
|
||||||
.prove
|
.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
|
**/*.rs.bk
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
[workspace]
|
|
||||||
|
|
||||||
members = [
|
|
||||||
"taskchampion",
|
|
||||||
"cli",
|
|
||||||
"sync-server",
|
|
||||||
"lib",
|
|
||||||
"integration-tests",
|
|
||||||
"xtask",
|
|
||||||
]
|
|
||||||
Reference in New Issue
Block a user