Skip to content

Commit

Permalink
ci:update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxin688 committed Jul 9, 2024
1 parent a33760e commit 5f17a3a
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/ruff-action.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
name: Ruff
on: [push, pull_request]
name: pre-commit

on:
pull_request:
push:
branches: [main]

jobs:
ruff:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: chartboost/ruff-action@v1
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/action@v3.0.1

0 comments on commit 5f17a3a

Please sign in to comment.