Skip to content

Commit b08ad85

Browse files
authored
Merge pull request #139 from tnull/2023-07-fix-github-actions
Update Github actions to omit deprecation warnings
2 parents 3915c8b + e87a64a commit b08ad85

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
stable,
1111
beta,
1212
1.60.0, # Our MSRV
13-
]
13+
]
1414
include:
1515
- toolchain: stable
1616
check-fmt: true
@@ -20,13 +20,11 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Checkout source code
23-
uses: actions/checkout@v2
23+
uses: actions/checkout@v3
2424
- name: Install Rust ${{ matrix.toolchain }} toolchain
25-
uses: actions-rs/toolchain@v1
26-
with:
27-
toolchain: ${{ matrix.toolchain }}
28-
override: true
29-
profile: minimal
25+
run: |
26+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ matrix.toolchain }}
27+
rustup override set ${{ matrix.toolchain }}
3028
- name: Pin packages to allow for MSRV
3129
if: matrix.msrv
3230
run: |

0 commit comments

Comments
 (0)