File tree 1 file changed +1
-20
lines changed
1 file changed +1
-20
lines changed Original file line number Diff line number Diff line change 6
6
branches : [main]
7
7
8
8
jobs :
9
- rust-fmt :
9
+ rust-fmt-and-clippy :
10
10
runs-on : UbuntuLatest32Cores128G
11
11
steps :
12
12
- uses : actions/checkout@v4
17
17
- name : Rust formatting
18
18
run : nix develop --command cargo fmt --check
19
19
20
- rust-clippy-and-test :
21
- # We need to run the checks on Linux and macOS because there are system-specific
22
- # versions of fh (e.g. `fh apply nix-darwin` is only on macOS while `fh apply
23
- # nixos` is only on Linux)
24
- strategy :
25
- matrix :
26
- runners :
27
- # Linux
28
- - UbuntuLatest32Cores128G
29
- # macOS
30
- - macos-latest-xlarge
31
-
32
- runs-on : ${{ matrix.runners }}
33
- steps :
34
- - uses : actions/checkout@v4
35
-
36
- - uses : DeterminateSystems/nix-installer-action@v4
37
- - uses : DeterminateSystems/magic-nix-cache-action@main
38
-
39
20
- name : Clippy
40
21
run : nix develop --command cargo clippy --all-targets --all-features -- -Dwarnings
41
22
You can’t perform that action at this time.
0 commit comments