Skip to content

Update semgrep.yml docker image #425

Update semgrep.yml docker image

Update semgrep.yml docker image #425

Workflow file for this run

on: [pull_request]
permissions:
contents: read
pull-requests: read
name: Lint
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # needed for `only-new-issues` to compare diffs
- name: install go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: go1.20-${{ hashFiles('**/go.sum') }}
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
args: "--config .golintci.yml"
only-new-issues: true
skip-cache: true