Skip to content

Commit 8092e60

Browse files
committed
GH actions: maybe parameterize the rust toolchain
1 parent 59b9f23 commit 8092e60

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/linux.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
os: [ubuntu-16.04, ubuntu-18.04]
17+
rust_toolchain: [stable, nightly, beta]
1718
runs-on: ${{ matrix.os }}
1819
steps:
1920
- uses: actions/checkout@v1
2021
- name: Install Rust
21-
run: curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly
22+
run: curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain ${{ matrix.rust_toolchain }}
2223
- name: Build and test
2324
run: |
2425
source $HOME/.cargo/env

0 commit comments

Comments
 (0)