ci: update clippy check (#389)

This commit is contained in:
weishu
2023-04-14 22:42:25 +08:00
committed by GitHub
parent c058cb8848
commit a1cd3ab6fa
2 changed files with 4 additions and 29 deletions

View File

@@ -1,22 +0,0 @@
name: Clippy check for pull request
on:
pull_request:
branches:
- 'main'
paths:
- '.github/workflows/clippy-pr.yml'
- 'userspace/ksud/**'
permissions:
checks: write
jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: giraffate/clippy-action@v1
with:
workdir: userspace/ksud

View File

@@ -1,9 +1,6 @@
name: Clippy check name: Clippy check
on: on: [push, pull_request]
push:
branches:
- 'main'
paths: paths:
- '.github/workflows/clippy.yml' - '.github/workflows/clippy.yml'
- 'userspace/ksud/**' - 'userspace/ksud/**'