Skip to content

Commit

Permalink
Add GitHub Actions CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
erikgrinaker committed Aug 13, 2023
1 parent 7c5942f commit 9ae0607
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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]
- run: cargo test
- run: cargo clippy --tests -- -D warnings
- run: cargo fmt --check

0 comments on commit 9ae0607

Please sign in to comment.