Skip to content

Commit

Permalink
Merge pull request #2 from Sild/dev
Browse files Browse the repository at this point in the history
add sanity checks workflow
  • Loading branch information
Sild authored Sep 12, 2023
2 parents 25a5432 + 0a8ecac commit 805d5b2
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/new_pr_to_main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
on:
pull_request:
branches:
- main

jobs:
cargo_clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: clippy
override: true
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.WORKFLOW_TOKEN }}
args: --all-features
cargo_fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: rustfmt
override: true
- run: rustfmt

0 comments on commit 805d5b2

Please sign in to comment.