File tree Expand file tree Collapse file tree 4 files changed +4
-30
lines changed
Expand file tree Collapse file tree 4 files changed +4
-30
lines changed Original file line number Diff line number Diff line change 2020 - uses : actions/checkout@v6
2121 - uses : actions/setup-go@v6
2222 with :
23- go-version-file : ' go.mod'
23+ go-version-file : " go.mod"
2424 - name : golangci-lint
2525 uses : golangci/golangci-lint-action@v9
2626 with :
27- version : v2.3.1
27+ version : v2.4.0
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 55# Run golangci-lint
66lint :
77 @command -v golangci-lint > /dev/null || (echo " Error: golangci-lint is not installed" && exit 1)
8- @version=$$(golangci-lint version | grep -oE 'version v?[0-9]+\.[0-9]+\.[0-9]+' | awk '{print $$2}' | sed 's/^v//' ) ; \
9- config=" .golangci.yml" ; \
10- if echo " $$ version" | grep -q ' ^1\.' ; then \
11- config=".golangci.v1.yml"; \
12- fi; \
13- golangci-lint run --config=$$config
8+ golangci-lint run
Original file line number Diff line number Diff line change 11module github.com/kashifkhan0771/utils
22
3- go 1.24.0
4-
5- toolchain go1.24.6
3+ go 1.25.0
64
75require (
86 github.com/forPelevin/gomoji v1.4.1
You can’t perform that action at this time.
0 commit comments