Use the same version for the upload-artifact and download-artifact ac… #20
This file contains hidden or 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: Snyk | |
| on: | |
| push: | |
| branches: [ master ] | |
| jobs: | |
| security: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: snyk/actions/setup@master | |
| - name: Set up Python 3.8 | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: 3.8 | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install . | |
| - name: Run Snyk to check for vulnerabilities | |
| run: snyk monitor --file=setup.py --project-name=snowplow-python-tracker | |
| env: | |
| SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} |