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