Skip to content

Commit

Permalink
workflows: add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
woodruffw committed Aug 28, 2024
1 parent 3fcaef9 commit cb5cd3e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

on:
push:
branches:
- main
pull_request:

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Format
run: cargo fmt && git diff --exit-code

- name: Lint
run: cargo clippy -- -D warnings

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Test
run: cargo test

0 comments on commit cb5cd3e

Please sign in to comment.