Skip to content

Commit 48e338b

Browse files
committed
feat(ci): add check to ensure compilation on all platforms
1 parent 22e8366 commit 48e338b

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,10 @@ on:
77

88
jobs:
99
lint:
10-
runs-on: ubuntu-latest
11-
steps:
12-
- uses: actions/checkout@v4
13-
with:
14-
submodules: true
15-
- uses: moonrepo/setup-rust@v1
16-
with:
17-
components: rustfmt, clippy
18-
- uses: pre-commit/action@v3.0.1
19-
with:
20-
extra_args: --all-files
21-
22-
lint-windows:
23-
runs-on: windows-latest
10+
strategy:
11+
matrix:
12+
os: [ubuntu-latest, windows-latest, macos-latest]
13+
runs-on: ${{ matrix.os }}
2414
steps:
2515
- uses: actions/checkout@v4
2616
with:
@@ -150,7 +140,6 @@ jobs:
150140
if: always()
151141
needs:
152142
- lint
153-
- lint-windows
154143
- msrv-check
155144
- tests
156145
- compat-integration-test-instrumentation

0 commit comments

Comments
 (0)