mirror of
https://github.com/dredozubov/polyrhythmix.git
synced 2024-11-23 20:37:43 +00:00
24 lines
482 B
YAML
24 lines
482 B
YAML
name: 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
|