Skip to content

Commit 6621d79

Browse files
authored
Merge pull request #106 from tnull/2023-07-fix-github-actions
Update CI to remove deprecated actions
2 parents 4d3a5b0 + ed08c8b commit 6621d79

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,11 @@ jobs:
1919
runs-on: ${{ matrix.platform }}
2020
steps:
2121
- name: Checkout source code
22-
uses: actions/checkout@v2
22+
uses: actions/checkout@v3
2323
- name: Install Rust ${{ matrix.toolchain }} toolchain
24-
uses: actions-rs/toolchain@v1
25-
with:
26-
toolchain: ${{ matrix.toolchain }}
27-
override: true
28-
profile: minimal
24+
run: |
25+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ matrix.toolchain }}
26+
rustup override set ${{ matrix.toolchain }}
2927
- name: Build on Rust ${{ matrix.toolchain }}
3028
run: cargo build --verbose --color always
3129
- name: Check formatting

0 commit comments

Comments
 (0)