mirror of
https://github.com/tailix/libkernaux.git
synced 2024-11-13 11:04:27 -05:00
Test Rust package with fmt & clippy
This commit is contained in:
parent
da76d17df6
commit
c69c1b2488
1 changed files with 7 additions and 0 deletions
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
|
@ -85,6 +85,7 @@ jobs:
|
|||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
components: rustfmt, clippy
|
||||
- name: autogen
|
||||
run: ./autogen.sh
|
||||
- name: configure
|
||||
|
@ -96,3 +97,9 @@ jobs:
|
|||
- working-directory: pkgs/rust
|
||||
name: test
|
||||
run: cargo test
|
||||
- working-directory: pkgs/rust
|
||||
name: fmt
|
||||
run: cargo fmt --check
|
||||
- working-directory: pkgs/rust
|
||||
name: clippy
|
||||
run: cargo clippy
|
||||
|
|
Loading…
Reference in a new issue