Skip to content

Commit

Permalink
Use cargo -V instead of cargo update to install the toolchain
Browse files Browse the repository at this point in the history
This is still a hack. There should be a way to install the toolchain
file with `rustup` somehow.
  • Loading branch information
flip1995 committed Dec 10, 2020
1 parent 6250685 commit dd30c42
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v2.3.3

- name: Run cargo update
run: cargo update
# HACK(flip1995): This is here to install the correct toolchain
- name: Print cargo version
run: cargo -V

# Run
- name: Set LD_LIBRARY_PATH (Linux)
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/clippy_bors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v2.3.3

- name: Run cargo update
run: cargo update
# HACK(flip1995): This is here to install the correct toolchain
- name: Print cargo version
run: cargo -V

# Run
- name: Set LD_LIBRARY_PATH (Linux)
Expand Down Expand Up @@ -149,8 +150,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v2.3.3

- name: Run cargo update
run: cargo update
# HACK(flip1995): This is here to install the correct toolchain
- name: Print cargo version
run: cargo -V

# Run
- name: Build Integration Test
Expand Down Expand Up @@ -207,8 +209,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v2.3.3

- name: Run cargo update
run: cargo update
# HACK(flip1995): This is here to install the correct toolchain
- name: Print cargo version
run: cargo -V

# Download
- name: Download target dir
Expand Down

0 comments on commit dd30c42

Please sign in to comment.