Skip to content

ci: switch to rust-toolchain action #3

ci: switch to rust-toolchain action

ci: switch to rust-toolchain action #3

Workflow file for this run

name: CI
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -Dwarnings
jobs:
build_and_test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
toolchain: [stable, beta, nightly]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@${{ matrix.toolchain }}

Check failure on line 18 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 18, Col: 15): Unrecognized named-value: 'matrix'. Located at position 1 within expression: matrix.toolchain
- uses: Swatinem/rust-cache@v2
- uses: extractions/setup-just@v1
- run: just test