Skip to content

Commit 0b6eb49

Browse files
ci: run pre-commit hooks on macos and ubuntu-latest
1 parent c227c9f commit 0b6eb49

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ on:
77

88
jobs:
99
lint:
10-
runs-on: ubuntu-latest
10+
runs-on: ${{ matrix.os }}
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
os: [ubuntu-latest, macos-latest]
1115
steps:
1216
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1317
with:
@@ -19,6 +23,7 @@ jobs:
1923
with:
2024
extra_args: --all-files
2125
- name: Check config schema is up to date
26+
if: matrix.os == 'ubuntu-latest'
2227
run: cargo run --bin generate_config_schema && git diff --exit-code schemas/codspeed.schema.json
2328

2429
tests:

0 commit comments

Comments
 (0)