Skip to content

Commit

Permalink
Add GitHub Action for automated testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
overcat committed Feb 27, 2024
1 parent f8fce73 commit 895f73e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Rust

on:
push:
pull_request:

jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup update
- run: cargo fmt --check

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup update
- run: cargo test

0 comments on commit 895f73e

Please sign in to comment.