File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -5,21 +5,27 @@ on: [push]
5
5
jobs :
6
6
build :
7
7
8
- runs-on : ubuntu-latest
8
+ runs-on : ${{ matrix.os }}
9
+
10
+ strategy :
11
+ matrix :
12
+ os : [ubuntu-latest, macos-latest, macos14]
9
13
10
14
steps :
15
+ - name : Cache git folder
16
+ uses : actions/cache@v4
17
+ with :
18
+ path : .git
11
19
- uses : actions/checkout@v4
12
20
with :
13
21
submodules : true
14
22
lfs : true
15
- # - name: Git lfs pull
16
- # working-directory: consensus-spec-tests
17
- # run: git lfs pull
18
23
- name : Install Rust
19
24
run : rustup toolchain install stable --profile minimal
20
25
- uses : Swatinem/rust-cache@v2
21
26
- name : Run formatter
22
27
run : cargo fmt --check
28
+ if : matrix.os == 'ubuntu-latest'
23
29
- name : Run clippy
24
30
run : bash scripts/ci/clippy.bash
25
31
- name : Run tests
You can’t perform that action at this time.
0 commit comments