Skip to content

Commit 62fd1ee

Browse files
committed
fix: ci
1 parent a8c4367 commit 62fd1ee

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,13 @@ jobs:
2323
runs-on: ${{ matrix.os }}
2424
strategy:
2525
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
2733
steps:
2834
- uses: actions/checkout@v4
2935
- name: Set up cargo cache
@@ -32,7 +38,11 @@ jobs:
3238
with:
3339
prefix-key: "andromeda-${{ runner.os }}"
3440
- 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
3646
- name: Test
3747
run: cargo test
3848
timeout-minutes: 20

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ jobs:
3636
asset-name: andromeda-windows-amd64.exe
3737

3838
steps:
39-
- uses: actions/checkout@v3
39+
- uses: actions/checkout@v4
4040

4141
- name: Install the rust toolchain
42-
uses: dtolnay/rust-toolchain@stable
42+
uses: dtolnay/rust-toolchain@master
4343
with:
44-
toolchain: 1.85.0
44+
toolchain: 1.88.0
4545
targets: ${{ matrix.rust-target }}
4646

4747
- name: Build
@@ -70,7 +70,7 @@ jobs:
7070
if: github.ref == 'refs/heads/main'
7171

7272
steps:
73-
- uses: actions/checkout@v3
73+
- uses: actions/checkout@v4
7474

7575
- name: Download all artifacts
7676
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)