Skip to content

Reduce false positives for invalid-usage-of-modified-variable #60

Reduce false positives for invalid-usage-of-modified-variable

Reduce false positives for invalid-usage-of-modified-variable #60

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: python -m semgrep --validate --config .
- name: tests
run: python -m semgrep --test --test-ignore-todo