Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 #25
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: CI / snyk.io | |
on: | |
push: | |
branches: | |
- "**" | |
- "!main" | |
jobs: | |
snyk: | |
runs-on: [ubuntu-latest] | |
strategy: | |
matrix: | |
target: | |
[ | |
dependency-test, | |
code-test, | |
] | |
include: | |
- target: dependency-test | |
name: Snyk dependency scan | |
cmd: snyk test --all-projects --exclude=misc --severity-threshold=high | |
continue-on-error: true | |
- target: code-test | |
name: Snyk code analysis | |
cmd: snyk code test --severity-threshold=high | |
continue-on-error: false | |
name: "${{ matrix.name }}" | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- uses: snyk/actions/setup@master | |
- uses: actions/setup-go@v1 | |
with: | |
go-version: '1.19' | |
- name: Exec ${{ matrix.target }} | |
env: | |
SNYK_TOKEN: ${{ secrets.sn_x_pub }} | |
SNYK_API: https://app.eu.snyk.io/api | |
run: ${{ matrix.cmd }} --org=nitro-x |