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