Skip to content

Commit

Permalink
Update golangci-lint version.
Browse files Browse the repository at this point in the history
  • Loading branch information
Baliedge committed Nov 20, 2023
1 parent 10430c0 commit 543a431
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
name: Lint

on:
push:
branches:
- master
pull_request:
branches: [ master, main ]

env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
GOLANGCI_LINT_VERSION: v1.54.2

jobs:
lint:
Expand All @@ -30,6 +33,6 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54.2
version: ${{ env.GOLANGCI_LINT_VERSION }}
skip-cache: true # cache/restore is done by actions/setup-go@v3 step
args: -v
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GOLANGCI_LINT = $(GOPATH)/bin/golangci-lint
GOLANGCI_LINT_VERSION = v1.54.1
GOLANGCI_LINT_VERSION = v1.54.2

.PHONY: lint
lint: $(GOLANGCI_LINT)
Expand Down

0 comments on commit 543a431

Please sign in to comment.