This commit is contained in:
19
.gitea/workflows/lint.yaml
Normal file
19
.gitea/workflows/lint.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
name: Lint
|
||||
run-name: ${{ gitea.actor }} is linting
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- name: Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
components: rustfmt, clippy
|
||||
- name: Lint
|
||||
run: cargo clippy
|
||||
Reference in New Issue
Block a user