Skip to content

Commit

Permalink
Update static_analysis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
f33r0 authored Oct 16, 2024
1 parent 982dcfb commit 72660b4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/static_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
push:
branches: [master, develop]


env:
CARGO_TERM_COLOR: always

Expand All @@ -20,14 +19,19 @@ jobs:
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y libclang-dev

- name: Install latest stable Rust
run: |
rustup update stable
rustup default stable
- name: Cache Cargo build
uses: Swatinem/rust-cache@v2
with:
cache-key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
cache-provider: "actions"

- name: Install clippy-sarif and sarif-fmt
run: cargo install clippy-sarif sarif-fmt
run: cargo install clippy-sarif sarif-fmt --locked

- name: Check code formatting
run: cargo fmt -- --check
Expand Down

0 comments on commit 72660b4

Please sign in to comment.