Skip to content

chore: init ci

chore: init ci #1

Workflow file for this run

name: basics
on:
pull_request:
push:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
core:
strategy:

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

View workflow run for this annotation

GitHub Actions / basics

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 14, Col: 5): Required property is missing: runs-on
fail-fast: false
matrix:
checks: [
cargo fmt --all --check,
cargo check --all-targets --all-features,
cargo clippy --all-targets --all-features,
cargo test
]
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- run: ${{ matrix.check }}