File tree Expand file tree Collapse file tree 2 files changed +16
-6
lines changed Expand file tree Collapse file tree 2 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 23
23
runs-on : ${{ matrix.os }}
24
24
strategy :
25
25
matrix :
26
- os : [ubuntu-latest, windows-latest, macos-latest]
26
+ include :
27
+ - os : ubuntu-latest
28
+ target : x86_64-unknown-linux-gnu
29
+ - os : windows-latest
30
+ target : x86_64-pc-windows-msvc
31
+ - os : macos-latest
32
+ target : x86_64-apple-darwin
27
33
steps :
28
34
- uses : actions/checkout@v4
29
35
- name : Set up cargo cache
32
38
with :
33
39
prefix-key : " andromeda-${{ runner.os }}"
34
40
- name : Install the rust toolchain
35
- uses : dtolnay/rust-toolchain@stable
41
+ uses : dtolnay/rust-toolchain@master
42
+ with :
43
+ toolchain : 1.88.0
44
+ targets : ${{ matrix.target }}
45
+ components : rustfmt, clippy
36
46
- name : Test
37
47
run : cargo test
38
48
timeout-minutes : 20
Original file line number Diff line number Diff line change @@ -36,12 +36,12 @@ jobs:
36
36
asset-name : andromeda-windows-amd64.exe
37
37
38
38
steps :
39
- - uses : actions/checkout@v3
39
+ - uses : actions/checkout@v4
40
40
41
41
- name : Install the rust toolchain
42
- uses : dtolnay/rust-toolchain@stable
42
+ uses : dtolnay/rust-toolchain@master
43
43
with :
44
- toolchain : 1.85 .0
44
+ toolchain : 1.88 .0
45
45
targets : ${{ matrix.rust-target }}
46
46
47
47
- name : Build
70
70
if : github.ref == 'refs/heads/main'
71
71
72
72
steps :
73
- - uses : actions/checkout@v3
73
+ - uses : actions/checkout@v4
74
74
75
75
- name : Download all artifacts
76
76
uses : actions/download-artifact@v4
You can’t perform that action at this time.
0 commit comments