Skip to content

Update CI, fix lint #51

Update CI, fix lint

Update CI, fix lint #51

Workflow file for this run

# This script is provided by github.com/bool64/dev.
name: lint
on:
push:
tags:
- v*
branches:
- master
- main
pull_request:
# Cancel the workflow in progress in newer build is about to start.
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.22.x
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/[email protected]
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.59.1