fix: forgejo action
This commit is contained in:
parent
5dbd437296
commit
22bdfc9d87
1 changed files with 8 additions and 10 deletions
|
@ -7,15 +7,13 @@ jobs:
|
||||||
name: Build and test
|
name: Build and test
|
||||||
runs-on: bookworm
|
runs-on: bookworm
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v5
|
||||||
- uses: actions-rs/toolchain@v1
|
|
||||||
|
- uses: https://github.com/dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
- uses: actions-rs/cargo@v1
|
components: rustfmt, clippy
|
||||||
with:
|
|
||||||
command: test
|
- run: cargo fmt --all -- --check
|
||||||
args: --all-features
|
- run: cargo clippy --all-targets --all-features -- -D warnings
|
||||||
- uses: actions-rs/cargo@v1
|
- run: cargo test --all-features
|
||||||
with:
|
|
||||||
command: fmt
|
|
||||||
args: -- --check
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue