Set toolchain

This commit is contained in:
danielsanchezq 2022-09-27 17:15:55 +02:00
parent 07167c6087
commit 120c18a0b0

View File

@ -15,11 +15,11 @@ jobs:
matrix:
include:
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
toolchain: stable-x86_64-unknown-linux-gnu
- os: windows-latest
target: x86_64-pc-windows-gnu
toolchain: stable-x86_64-pc-windows-gnu
- os: macos-latest
target: x86_64-apple-darwin
toolchain: stable-x86_64-apple-darwin
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
@ -30,8 +30,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: ${{ matrix.target }}
toolchain: ${{ matrix.toolchain }}
default: true
override: true
- uses: actions-rs/cargo@v1
@ -63,8 +62,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: ${{ matrix.target }}
toolchain: ${{ matrix.toolchain }}
default: true
override: true
- uses: actions-rs/cargo@v1