Skip to content

Commit

Permalink
Create build-pull-request.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
acodili-jg authored May 10, 2024
1 parent e449d62 commit f06b606
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build-pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: build-pull-request

on: [ pull_request ]

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Clippy
run: |
cargo
clippy
--lib
--bins
--verbose
--
-Wclippy::pedantic
-Wclippy::nursery
-Wclippy::expect_used
-Wclippy::unwrap_used
- name: Build
run: cargo build --release --verbose

0 comments on commit f06b606

Please sign in to comment.