Skip to content

🐎 ci: rust build #12

🐎 ci: rust build

🐎 ci: rust build #12

Workflow file for this run

name: Rust
on:
push:
branches: [ "master", "dev" ]
pull_request:
branches: [ "master", "dev" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
os: [ubuntu-latest, windo matrix:ws-latest]

Check failure on line 16 in .github/workflows/rust.yml

View workflow run for this annotation

GitHub Actions / Rust

Invalid workflow file

The workflow is not valid. .github/workflows/rust.yml (Line: 16, Col: 9): Unexpected value 'os' .github/workflows/rust.yml: (Line: 16, Col: 29, Idx: 200) - (Line: 16, Col: 46, Idx: 217): While scanning a plain scalar, find unexpected ':'.
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- name: Build
run: cargo build --verbose
- name: Build for release
run: cargo build --release --verbose
- name: Run tests
run: cargo test --verbose