mirror of
https://github.com/rzmk/czv.git
synced 2025-12-19 08:09:24 +00:00
ci: add cargo test & cargo clippy on push/PR
This commit is contained in:
parent
a7e040170b
commit
f435642358
1 changed files with 24 additions and 0 deletions
24
.github/workflows/cargo-runner.yml
vendored
Normal file
24
.github/workflows/cargo-runner.yml
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
name: Run cargo commands
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
env:
|
||||||
|
CARGO_TERM_COLOR: always
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
name: czv - latest
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
toolchain:
|
||||||
|
- stable
|
||||||
|
# - beta
|
||||||
|
# - nightly
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
|
||||||
|
- run: cargo clippy
|
||||||
|
- run: cargo test --verbose
|
||||||
Loading…
Add table
Add a link
Reference in a new issue