Skip to content

fix gh action semgrep run (#38) #70

fix gh action semgrep run (#38)

fix gh action semgrep run (#38) #70

name: semgrep-rules-test
on:
pull_request:
push:
branches:
- main
jobs:
build:
name: run semgrep rules tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: installation
run: |
python -m pip install --upgrade pip
python3 -m pip install semgrep
- name: validations
run: semgrep --validate --config .
- name: tests
run: semgrep --test --test-ignore-todo