Skip to content

Commit

Permalink
CI: more static analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
slivingston committed Jun 28, 2024
1 parent 7ad4e96 commit 1e96f9c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,20 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: |
rustup toolchain install nightly --profile minimal
rustup component add --toolchain nightly rustfmt
- run: rustup toolchain install stable --profile minimal
- uses: Swatinem/rust-cache@v2
- name: Prepare to build
run: |
mkdir keys
touch keys/public.pem
- name: Lint
run: |
cargo +nightly fmt --check
cargo check
cargo clippy --tests -- -D clippy::all
- name: Run tests
run: |
cargo test

0 comments on commit 1e96f9c

Please sign in to comment.