ci: migrate to actions-rs for running tests

This commit is contained in:
Mathew Davies 2023-05-26 18:35:20 +00:00
parent ca7ad9f812
commit c82dc6e797
1 changed files with 16 additions and 8 deletions

View File

@ -10,13 +10,21 @@ env:
CARGO_TERM_COLOR: always
jobs:
build:
test:
name: Test Suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Checkout sources
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test