Skip to content

Commit

Permalink
Migrate to maintained workflow toolchain action.
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioBenitez committed Jan 31, 2023
1 parent 910994f commit 59ee2e0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,25 +65,24 @@ jobs:
sudo apt-get install -y libmysqlclient-dev libpq-dev libsqlite3-dev
- name: Install Rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
id: toolchain
with:
profile: minimal
toolchain: ${{ matrix.platform.toolchain }}
override: true
components: rust-src

- name: Cache Example Workspace
if: matrix.test.name == 'Examples'
uses: Swatinem/rust-cache@v2
with:
workspaces: examples
key: ${{ matrix.test.name }}
key: ${{ matrix.test.name }}-${{ steps.toolchain.outputs.cachekey }}

- name: Cache Root Workspace
if: matrix.test.name != 'Examples'
uses: Swatinem/rust-cache@v2
with:
key: ${{ matrix.test.name }}
key: ${{ matrix.test.name }}-${{ steps.toolchain.outputs.cachekey }}

- name: Run Tests
continue-on-error: ${{ matrix.fallible }}
Expand Down

0 comments on commit 59ee2e0

Please sign in to comment.