Skip to content

chore: run cargo fmt #65

chore: run cargo fmt

chore: run cargo fmt #65

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
fmt:
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@v1
- uses: oxc-project/[email protected]
components: rustfmt

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

View workflow run for this annotation

GitHub Actions / Rust

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 38, Col: 9): Unexpected value 'components'
- run: cargo fmt