Skip to content

Snyk Code Test

Snyk Code Test #48

Workflow file for this run

name: Snyk Code Test
on:
workflow_dispatch:
workflow_call:
schedule:
# ┌───────────── minute (0 - 59)
# │ ┌───────────── hour (0 - 23)
# │ │ ┌───────────── day of the month (1 - 31)
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
# │ │ │ │ │
# │ │ │ │ │
# │ │ │ │ │
# * * * * *
- cron: '0 2 * * 1-5'
push:
branches:
- 'main'
jobs:
code-test:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@master
- name: Setup Snyk Action
uses: snyk/actions/setup@master
- name: Test Code with Snyk
run: snyk code test
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}