Skip to content

Commit 5ce5465

Browse files
committed
Rename and update Clippy workflow
Renamed the workflow file from 'check.yml' to 'clippy.yml' and updated its configuration. Adjusted paths and added RUSTFLAGS to enforce warnings as errors during Clippy runs.
1 parent 35e91f8 commit 5ce5465

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
name: Check
1+
name: Clippy
22

33
on:
44
push:
55
branches:
66
- develop
77
paths:
8-
- ".github/workflows/check.yml"
98
- "**/*.rs"
109
- "**/Cargo.toml"
10+
- ".github/workflows/clippy.yml"
1111
pull_request:
1212
branches:
1313
- develop
1414
paths:
15-
- ".github/workflows/check.yml"
1615
- "**/*.rs"
1716
- "**/Cargo.toml"
17+
- ".github/workflows/clippy.yml"
1818

1919
concurrency:
2020
group: ${{ github.workflow }}-${{ github.ref }}
@@ -50,4 +50,6 @@ jobs:
5050
sudo apt-get update
5151
sudo apt-get install -y webkit2gtk-4.1
5252
- uses: Swatinem/rust-cache@v2
53-
- run: cargo clippy --all-targets --all-features -- -D warnings
53+
env:
54+
RUSTFLAGS: "-D warnings"
55+
run: cargo clippy --all-targets --all-features

0 commit comments

Comments
 (0)