Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update semgrep version #7

Merged
merged 7 commits into from
Feb 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 15 additions & 6 deletions .github/workflows/semgrep-rules-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,26 @@ on:
- main

jobs:
test-latest:
name: rules-test-latest
test:
name: rules-test-${{ matrix.semgrep_version }}
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
include:
- semgrep_version: '1.56.0'
install_command: 'pip3 install semgrep==1.56.0'
- semgrep_version: 'latest'
install_command: 'pip3 install semgrep'
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.9.2
- name: install semgrep
run: pip3 install semgrep==1.52.0
- name: validate rules
- name: Install Semgrep
run: ${{ matrix.install_command }}
- name: Validate rules
run: semgrep --validate --config .
- name: run semgrep
- name: Run semgrep
run: semgrep --test --test-ignore-todo
continue-on-error: ${{ matrix.semgrep_version == 'latest' }}
Loading