Skip to content

Disable nonamedreturns check #53

Disable nonamedreturns check

Disable nonamedreturns check #53

Workflow file for this run

name: lint
on: push
permissions:
contents: read
jobs:
build:
strategy:
matrix:
go-version: [1.18.x, 1.19.x, 1.20.x]
os: [macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
lint:
strategy:
matrix:
go-version: [1.18.x, 1.19.x, 1.20.x]
os: [macos-latest, ubuntu-latest]
name: lint
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.53