Skip to content
Merged
Prev Previous commit
Next Next commit
ci(toolchain): add action-rs and supports nightly toolchain
  • Loading branch information
clearloop committed Nov 18, 2020
commit 1520b5ddb195d5182fd9b6ca0509a928e7197887
9 changes: 6 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@ jobs:
os: [macOS-latest, ubuntu-latest]
steps:
- name: Checkout the source code
uses: actions/checkout@v1
uses: actions-/checkout@v1
- name: Set nightly toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- name: Environment
run: |
if [[ "$(uname)" == 'Darwin' ]]; then
Expand All @@ -23,6 +26,6 @@ jobs:
sudo apt-get install -y libsqlite3-dev libdbus-1-dev
fi
- name: Build
run: cargo +nightly build --all-features --vv
run: cargo build --all-features --vv
- name: Run tests
run: cargo +nightly test --all-features --vv
run: cargo test --all-features --vv