Skip to content

Commit

Permalink
Do not self-update rustup to avoid permission failure
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor authored and 0xpr03 committed May 7, 2021
1 parent ded07f4 commit 81b2ab4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ jobs:
- uses: actions/checkout@v2

- name: setup toolchain
# `--no-self-update` is needed due to a permission issue on the GHA env.
run: |
rustup set profile minimal
rustup toolchain install ${{ matrix.version }}
rustup toolchain install ${{ matrix.version }} --no-self-update
rustup override set ${{ matrix.version }}
- name: MSRV check
Expand Down

0 comments on commit 81b2ab4

Please sign in to comment.