Skip to content

Merge pull request #200 from sunya-ch/v1.2.4-rebase #200

Merge pull request #200 from sunya-ch/v1.2.4-rebase

Merge pull request #200 from sunya-ch/v1.2.4-rebase #200

name: golangci-lint
on:
pull_request:
push:
env:
GOLANGCI_LINT_VERSION: v1.54.2
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.18
- uses: actions/checkout@v3
- name: Tidy
run: |
go mod tidy
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
args: --timeout=10m
version: ${{ env.GOLANGCI_LINT_VERSION }}