Skip to content

Add GitHub Actions CI workflow #2

Add GitHub Actions CI workflow

Add GitHub Actions CI workflow #2

Workflow file for this run

name: CI
on: [push, pull_request, workflow_dispatch]
permissions:
contents: read
jobs:
test:
name: Test
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: dtolnay/[email protected]
components: [clippy, rustfmt]

Check failure on line 15 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: 15, Col: 7): Unexpected value 'components'
- run: cargo test
- run: cargo clippy --tests -- -D warnings
- run: cargo fmt --check