Merge Develop into Release #1641
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: semgrep-rules-test | |
on: | |
pull_request: | |
branches: | |
- release | |
push: | |
branches: | |
- release | |
jobs: | |
test-latest: | |
name: rules-test-latest | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9.2 | |
- name: install semgrep | |
run: pip3 install semgrep | |
- name: remove stats directory | |
run: rm -rf stats | |
- name: remove fingerprints from testing | |
run: rm -rf fingerprints | |
- name: remove rules requiring Semgrep Pro | |
run: rm -rf apex elixir | |
- name: validate rules | |
run: semgrep --validate --config . | |
- name: run semgrep | |
run: semgrep --test --test-ignore-todo |