Skip to content

ci: add cargo check and cargo test --all-features #61

ci: add cargo check and cargo test --all-features

ci: add cargo check and cargo test --all-features #61

Workflow file for this run

name: Rust
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
runs-on: ${{matrix.os}}
steps:
- uses: taiki-e/checkout-action@v1
- uses: oxc-project/[email protected]
with:
save-cache: ${{ github.ref_name == 'main' }}
- run: cargo check
- run: cargo test