Add just and coverage check to CI
This commit is contained in:
parent
bd95f81e9b
commit
f8d066e2d7
1 changed files with 14 additions and 9 deletions
|
|
@ -6,21 +6,26 @@ jobs:
|
|||
image: rust:slim
|
||||
steps:
|
||||
- name: install action dependencies
|
||||
run: apt install --no-install-recommends --update -y nodejs
|
||||
run: apt install --no-install-recommends --update -y nodejs just
|
||||
- name: setup toolchain
|
||||
run: rustup component add rustfmt clippy
|
||||
run: |
|
||||
rustup component add rustfmt clippy
|
||||
cargo install cargo-llvm-cov --locked
|
||||
|
||||
- name: checkout code
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: cargo build
|
||||
run: cargo build
|
||||
- name: build
|
||||
run: just build
|
||||
|
||||
- name: format
|
||||
run: cargo fmt -- --check
|
||||
run: just format-assess
|
||||
- name: lint
|
||||
run: cargo clippy -- -Dwarnings
|
||||
- name: format
|
||||
run: cargo fmt -- --check
|
||||
run: just lint
|
||||
- name: check
|
||||
run: just check
|
||||
- name: test
|
||||
run: cargo test
|
||||
run: just test
|
||||
- name: coverage
|
||||
run: just cover-assess
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue