diff --git a/.github/workflows/cargo-runner.yml b/.github/workflows/cargo-runner.yml new file mode 100644 index 0000000..9e30554 --- /dev/null +++ b/.github/workflows/cargo-runner.yml @@ -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