diff --git a/.forgejo/workflows/check.yaml b/.forgejo/workflows/check.yaml index ee0fa0a..3cc6d02 100644 --- a/.forgejo/workflows/check.yaml +++ b/.forgejo/workflows/check.yaml @@ -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