Skip to content

chore: Update Github actions setup #23

chore: Update Github actions setup

chore: Update Github actions setup #23

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
strategy:
matrix:
os:
- macos-latest
- windows-latest
- ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: cache setup
uses: Swatinem/rust-cache@v2
with:
save-if: ${{ github.ref == 'refs/heads/main' }}
- run: cargo nextest run --all-features && cargo test --doc