diff --git a/.github/workflows/build-pull-request.yml b/.github/workflows/build-pull-request.yml new file mode 100644 index 0000000..6a3d3b4 --- /dev/null +++ b/.github/workflows/build-pull-request.yml @@ -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