Skip to content

Commit

Permalink
ci: split pre-commit and semgrep jobs (#39445)
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush authored Jan 18, 2024
1 parent 45aea56 commit ef7aefe
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@ jobs:
- name: Install and Run Pre-commit
uses: pre-commit/[email protected]

semgrep:
name: semgrep
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: pip

- name: Download Semgrep rules
run: git clone --depth 1 https://github.com/frappe/semgrep-rules.git frappe-semgrep-rules

Expand Down

0 comments on commit ef7aefe

Please sign in to comment.