Skip to content

Commit

Permalink
chore: add Rust CI
Browse files Browse the repository at this point in the history
  • Loading branch information
curryrasul committed Sep 16, 2023
1 parent 60f0301 commit 1d0d211
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build-test-fmt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build-Test-Fmt

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build-test-fmt:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- run: rustup toolchain install stable --profile minimal
- uses: Swatinem/rust-cache@v2

- name: Build
run: cargo build

- name: Test
run: cargo test

- name: Fmt
run: cargo fmt -- --check

- name: Clippy
run: cargo clippy -- --deny warnings

0 comments on commit 1d0d211

Please sign in to comment.