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

Merge pull request #305 from neicnordic/refactor/middleware-and-cache #751

Merge pull request #305 from neicnordic/refactor/middleware-and-cache

Merge pull request #305 from neicnordic/refactor/middleware-and-cache #751

Workflow file for this run

name: Multilinters
on:
push:
paths:
- "**.go"
- "go.*"
jobs:
build:
name: Check code
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ["1.20"]
steps:
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Run golangci-lint
uses: golangci/[email protected]
with:
version: v1.51.1
args: --timeout 5m -E bodyclose,gocritic,gofmt,gosec,govet,nestif,nlreturn,revive,rowserrcheck --exclude G401,G501,G107