diff options
author | Wez Furlong <wez@wezfurlong.org> | 2019-10-20 11:04:14 +0100 |
---|---|---|
committer | Wez Furlong <wez@wezfurlong.org> | 2019-10-20 11:14:01 +0100 |
commit | 8092e60d64e63fe628960a264bb72186b343e2f7 (patch) | |
tree | 8487f0e1a1afc49675d52be7baa01c6586a16886 /.github | |
parent | 59b9f2345035522e9265da582322d6f328c89b45 (diff) | |
download | ssh2-rs-8092e60d64e63fe628960a264bb72186b343e2f7.zip |
GH actions: maybe parameterize the rust toolchain
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/linux.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 030b459..d249ff7 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -14,11 +14,12 @@ jobs: fail-fast: false matrix: os: [ubuntu-16.04, ubuntu-18.04] + rust_toolchain: [stable, nightly, beta] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v1 - name: Install Rust - run: curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly + run: curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain ${{ matrix.rust_toolchain }} - name: Build and test run: | source $HOME/.cargo/env |