diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 446924f0..f0788308 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,16 +15,26 @@ jobs: matrix: include: - - os: windows-latest - target: x86_64-pc-windows-msvc - - os: ubuntu-latest target: x86_64-unknown-linux-gnu - + toolchain: stable + - os: ubuntu-latest + target: x86_64-unknown-linux-gnu + toolchain: nightly - os: macos-latest target: x86_64-apple-darwin + toolchain: stable + - os: macos-latest + target: x86_64-apple-darwin + toolchain: nightly + - os: windows-latest + target: x86_64-pc-windows-msvc + toolchain: stable + - os: windows-latest + target: x86_64-pc-windows-msvc + toolchain: nightly - name: Build & Test (${{ matrix.target }}) + name: Build & Test (${{ matrix.target }} - ${{ matrix.toolchain }}) runs-on: ${{ matrix.os }} env: @@ -37,7 +47,7 @@ jobs: - name: Install Rust toolchain uses: actions-rs/toolchain@v1 with: - toolchain: stable + toolchain: ${{ matrix.toolchain }} target: ${{ matrix.target }} profile: minimal override: true @@ -46,7 +56,7 @@ jobs: if: matrix.target == 'x86_64-unknown-linux-gnu' uses: actions-rs/toolchain@v1 with: - toolchain: stable + toolchain: ${{ matrix.toolchain }} target: ${{ matrix.target }} profile: minimal override: true