Skip to content

Commit

Permalink
add workflow lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunny Jiao committed Jan 24, 2025
1 parent f0aaeb9 commit 0521b0a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Lint sources
run-name: Lint sources

on:
push:
pull_request:
branches: [main, develop]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Lint sources
run: |
sudo apt-get update && sudo apt-get install -y pre-commit
pre-commit run --all-files

0 comments on commit 0521b0a

Please sign in to comment.