Skip to content

Commit

Permalink
Merge pull request #1 from stchris/feature/pr-checks
Browse files Browse the repository at this point in the history
Add build/lint/test workflow to PRs
  • Loading branch information
stchris authored Jan 19, 2024
2 parents 7e54c02 + 0deb49d commit fb30186
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
on: [push, pull_request]

name: CI

jobs:
build_and_test:
name: Rust project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions-rs/cargo@v1
with:
command: build
args: --release --all-features
- uses: actions-rs/cargo@v1
with:
command: clippy
- uses: actions-rs/cargo@v1
with:
command: test

0 comments on commit fb30186

Please sign in to comment.