Skip to content

Commit

Permalink
Add a basic CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rcloran committed Sep 8, 2023
1 parent 883621e commit 0addb87
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: Rust CI

on:
pull_request:
push:
branches:
- main

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: actions-rs/cargo@v1
with:
command: check
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check

0 comments on commit 0addb87

Please sign in to comment.