diff options
author | Yusuke Sasaki <yusuke.sasaki.nuem@gmail.com> | 2020-01-16 16:28:33 +0900 |
---|---|---|
committer | Wez Furlong <wez@wezfurlong.org> | 2020-01-17 17:19:41 -0800 |
commit | 6b8c3ecb4b1ba32139cbc25d0605bebc6862c604 (patch) | |
tree | 9e96ab56c7a254c5b771251e100c8fb895b55772 /.github/workflows/linux.yml | |
parent | b4d4e7a69e4bb46e43d0660d48322df5b2ca0fa6 (diff) | |
download | ssh2-rs-6b8c3ecb4b1ba32139cbc25d0605bebc6862c604.zip |
use actions-rs/toolchain for Rust installation
Diffstat (limited to '.github/workflows/linux.yml')
-rw-r--r-- | .github/workflows/linux.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index d249ff7..8408a56 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -19,14 +19,15 @@ jobs: steps: - uses: actions/checkout@v1 - name: Install Rust - run: curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain ${{ matrix.rust_toolchain }} + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust_toolchain }} - name: Build and test run: | - source $HOME/.cargo/env rustc -V cargo -V cargo build tests/run_integration_tests.sh rustdoc --test README.md -L target cargo run --manifest-path systest/Cargo.toml - |