diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a8b7c34..95b7386 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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