From 642d53743261dac5cfb55779e37548bff1c36d08 Mon Sep 17 00:00:00 2001 From: "Stephen M. Coakley" Date: Thu, 7 Nov 2019 11:16:22 -0600 Subject: [PATCH] Update Rust version in CI --- .github/workflows/build.yml | 30 +++++++----------------------- 1 file changed, 7 insertions(+), 23 deletions(-) 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