Skip to content

chore(deps): bump golangci/golangci-lint-action from 4 to 6 in the github-actions group across 1 directory #1401

chore(deps): bump golangci/golangci-lint-action from 4 to 6 in the github-actions group across 1 directory

chore(deps): bump golangci/golangci-lint-action from 4 to 6 in the github-actions group across 1 directory #1401

Workflow file for this run

name: lint
on: [push, pull_request]
permissions:
contents: read
pull-requests: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
only-new-issues: true
tidy:
name: Remain 'go mod tidy'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
- name: Verify tidyness
run: |
go mod tidy
if ! git diff --quiet go.mod go.sum; then
echo "'go mod tidy' resulted in changes:"
git diff go.mod go.sum
echo "Please commit these changes."
fi