Skip to content

perf(detector): share one vuls2 db session across a server's detect and enrich #4765

perf(detector): share one vuls2 db session across a server's detect and enrich

perf(detector): share one vuls2 db session across a server's detect and enrich #4765

Workflow file for this run

name: golangci-lint
on:
push:
tags:
- v*
branches:
- master
pull_request:
permissions:
contents: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Set up Go 1.x
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
- name: golangci-lint
uses: golangci/golangci-lint-action@82606bf257cbaff209d206a39f5134f0cfbfd2ee # v9.2.1
with:
version: v2.9.0
env:
GOEXPERIMENT: jsonv2