This repository has been archived by the owner on Aug 7, 2024. It is now read-only.
fix(deps): bump setuptools from 68.2.2 to 70.3.0 in /aimmo-game and /aimmo #362
Workflow file for this run
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: Snyk | |
on: | |
release: | |
types: [published] | |
pull_request: | |
jobs: | |
security: | |
name: Run Snyk | |
runs-on: ubuntu-20.04 | |
env: | |
LANG: C.UTF-8 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
- name: Install Node dependencies | |
run: | | |
cd game_frontend | |
yarn --frozen-lockfile | |
- name: Run Snyk to check for vulnerabilities in Node.js | |
uses: snyk/actions/node@master | |
env: | |
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | |
with: | |
command: monitor --file=game_frontend/package.json --package-manager=npm --project-name="aimmo_frontend" | |
- name: Setup python-version | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.8" | |
architecture: "x64" | |
- name: Install Python dependencies | |
run: | | |
pip install pipenv | |
pipenv install --dev --system | |
- name: Generate requirements | |
run: pip freeze --all > requirements.txt | |
- name: Run Snyk to check for vulnerabilities in Python | |
uses: snyk/actions/python-3.8@master | |
env: | |
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | |
with: | |
command: monitor --file=requirements.txt --package-manager=pip --project-name="aimmo" |