WIP test.yml

This commit is contained in:
aniketfuryrocks 2023-03-04 02:54:09 +05:30
parent 72d2c3b9df
commit 2ff6c75fdf
No known key found for this signature in database
GPG Key ID: FA6BFCFAA7D4B764
1 changed files with 24 additions and 0 deletions

24
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,24 @@
aame: Cargo Build & Test
on:
push:
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
build_and_test:
name: Rust project - latest
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v3
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose
- run: cargo test --verbose