Skip to content

Commit

Permalink
Update Rust version in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sagebind committed Nov 7, 2019
1 parent 32c1e5e commit 642d537
Showing 1 changed file with 7 additions and 23 deletions.
30 changes: 7 additions & 23 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 642d537

Please sign in to comment.