This commit is contained in:
parent
27b20b384f
commit
8e76de356c
|
@ -5,14 +5,10 @@ jobs:
|
|||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
apt update
|
||||
apt install --yes curl wget
|
||||
- name: Install Rust nightly toolchain
|
||||
run: |
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain nightly --profile default -y
|
||||
source $HOME/.cargo/env
|
||||
- name: Run tests
|
||||
run: cargo test --lib
|
||||
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
args: --release --lib
|
||||
|
|
Loading…
Reference in a new issue