Skip to content

Add GitHub Actions CI workflow #3

Add GitHub Actions CI workflow

Add GitHub Actions CI workflow #3

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]
with:
components: [clippy, rustfmt]

Check failure on line 16 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: 16, Col: 21): A sequence was not expected
- run: cargo test
- run: cargo clippy --tests -- -D warnings
- run: cargo fmt --check