build(deps): bump clap from 4.5.21 to 4.5.23 #2554
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
static: | |
name: Static code checks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check formatting | |
run: cargo fmt --all -- --check | |
- name: Check for panics | |
run: ./tests/nopanic.ci | |
tests: | |
name: Fedora tests | |
runs-on: ubuntu-latest | |
container: | |
image: quay.io/keylime/keylime-ci:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set git safe.directory for the working directory | |
run : git config --system --add safe.directory "$PWD" | |
- name: Run tests | |
run: bash tests/run.sh | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: tarpaulin-report | |
path: | | |
tarpaulin-report.json | |
tarpaulin-report.html |