Skip to content

Merge pull request #1 from bubunyo/feature/improve-api #12

Merge pull request #1 from bubunyo/feature/improve-api

Merge pull request #1 from bubunyo/feature/improve-api #12

Workflow file for this run

name: lint
on:
push:
tags:
- v*
branches:
- master
- main
pull_request:
jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: 1.19.4
- name: golangci-lint
uses: golangci/golangci-lint-action@v3.1.0
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.45.2
only-new-issues: true
- name: golangci-lint goconst
uses: golangci/golangci-lint-action@v3.1.0
with:
version: v1.45.2
only-new-issues: true
# just show warnings
args: --issues-exit-code=0 --no-config --disable-all --enable goconst