Skip to content

Commit 69dfff8

Browse files
committed
Put back the rust.yml
1 parent e70ad96 commit 69dfff8

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

.github/workflows/rust.yml

+1-20
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
branches: [main]
77

88
jobs:
9-
rust-fmt:
9+
rust-fmt-and-clippy:
1010
runs-on: UbuntuLatest32Cores128G
1111
steps:
1212
- uses: actions/checkout@v4
@@ -17,25 +17,6 @@ jobs:
1717
- name: Rust formatting
1818
run: nix develop --command cargo fmt --check
1919

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-
3920
- name: Clippy
4021
run: nix develop --command cargo clippy --all-targets --all-features -- -Dwarnings
4122

0 commit comments

Comments
 (0)