Skip to content

Commit 1fe5e3f

Browse files
committed
Update GitHub workflows for audit and clippy
Adjusted the paths in the audit workflow to ensure '.github/workflows/audit.yml' is included. Added a new step to the clippy workflow to explicitly run clippy with warnings treated as errors.
1 parent 5ce5465 commit 1fe5e3f

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/audit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ on:
77
branches:
88
- develop
99
paths:
10-
- ".github/workflows/audit.yml"
1110
- "**/Cargo.lock"
1211
- "**/Cargo.toml"
12+
- ".github/workflows/audit.yml"
1313
pull_request:
1414
branches:
1515
- develop
1616
paths:
17-
- ".github/workflows/audit.yml"
1817
- "**/Cargo.lock"
1918
- "**/Cargo.toml"
19+
- ".github/workflows/audit.yml"
2020

2121
concurrency:
2222
group: ${{ github.workflow }}-${{ github.ref }}

.github/workflows/clippy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
sudo apt-get update
5151
sudo apt-get install -y webkit2gtk-4.1
5252
- uses: Swatinem/rust-cache@v2
53+
- name: Run clippy
5354
env:
5455
RUSTFLAGS: "-D warnings"
5556
run: cargo clippy --all-targets --all-features

0 commit comments

Comments
 (0)