Compare commits
3 commits
d9528d5895
...
8bf1be32fe
Author | SHA1 | Date | |
---|---|---|---|
8bf1be32fe | |||
73c28e5e76 | |||
e9441dba46 |
1 changed files with 20 additions and 0 deletions
20
.forgejo/workflows/pr-check.yml
Normal file
20
.forgejo/workflows/pr-check.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
name: PR Check
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
|
||||
jobs:
|
||||
lint-and-format:
|
||||
container:
|
||||
image: rust:latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Run format check
|
||||
run: cargo fmt --check
|
||||
|
||||
- name: Run Clippy
|
||||
run: cargo clippy
|
Loading…
Reference in a new issue