Skip to content

Commit

Permalink
chore: add base workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Decodetalkers committed Jul 28, 2024
1 parent 5fcb225 commit 037aceb
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/rustci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build

on:
push:
branches:
- master
pull_request:
branches:
- master
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build Binary
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}
- name: Run fmt check
run: cargo fmt --all -- --check
- name: Run clippy check
run: cargo clippy
- name: Run tests
run: cargo test --verbose

0 comments on commit 037aceb

Please sign in to comment.