diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9f185d7..d8a611b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,31 +10,15 @@ jobs: - macos-latest - windows-latest runs-on: ${{ matrix.platform }} + env: + RUST_BACKTRACE: 1 steps: - uses: actions/checkout@master - with: - submodules: true - - - name: Install Rust (macOS) - run: curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.36.0 - if: runner.os == 'macOS' - - - run: rustup default 1.36.0 - shell: "bash -l {0}" - - - run: cargo test - shell: "bash -l {0}" - env: - RUST_BACKTRACE: 1 - test-nightly: - runs-on: ubuntu-latest - container: rustlang/rust:nightly - steps: - - uses: actions/checkout@master + - uses: actions-rs/toolchain@v1 with: - submodules: true + profile: minimal + toolchain: "1.39.0" + default: true - - run: cargo test --features nightly - env: - RUST_BACKTRACE: 1 + - run: cargo test