Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

🎁 Auto-install golangci-lint #87

🎁 Auto-install golangci-lint

🎁 Auto-install golangci-lint #87

Workflow file for this run

name: Security
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
scan:
name: Snyk code scanning
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/golang@master
# To make sure that SARIF upload gets called
continue-on-error: true
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --sarif-file-output=snyk.sarif
- name: Upload result to GitHub Code Scanning
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: snyk.sarif