Skip to content

Bump actions/setup-go from 4 to 5 #82

Bump actions/setup-go from 4 to 5

Bump actions/setup-go from 4 to 5 #82

Workflow file for this run

name: Lint
on:
push:
tags:
- 'v*'
branches:
- main
pull_request:
permissions:
contents: read
# Only one build per ref.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
with:
go-version: '1.22.x'
- uses: actions/checkout@v4
- name: check go.mod
shell: bash
run: |
go mod tidy
git diff-index --quiet HEAD
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.54.0