Skip to content

fix: bump go version to 1.17 (#666) #161

fix: bump go version to 1.17 (#666)

fix: bump go version to 1.17 (#666) #161

Workflow file for this run

name: golangci-lint
on:
push:
tags:
- v*
branches:
- master
pull_request:
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup golang
uses: actions/setup-go@v4
with:
go-version: '1.22'
cache: false # Handled by golangci-lint.
- name: Validate go mod
run: |
go mod tidy
git --no-pager diff && [[ 0 -eq $(git status --porcelain | wc -l) ]]
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.56.2
args: --out-format=colored-line-number