File tree Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 1818 uses : actions/checkout@v4
1919
2020 - name : Setup Go
21- uses : actions/setup-go@v5
21+ uses : actions/setup-go@v6
2222 with :
23- go-version : 1.25
23+ go-version-file : ./go.mod
2424
2525 - name : Create fake PHP and .phar files
2626 run : |
Original file line number Diff line number Diff line change @@ -97,9 +97,7 @@ lint: lint-gomod lint-golangci ## Run linters.
9797
9898.PHONY : lint-gomod
9999lint-gomod :
100- ifneq ($(shell go mod tidy -v 2>/dev/stdout | tee /dev/stderr | grep -c 'unused ') ,0)
101- @false
102- endif
100+ go mod tidy -diff
103101
104102.PHONY : lint-golangci
105103lint-golangci :
Original file line number Diff line number Diff line change @@ -280,8 +280,6 @@ github.com/pjbgf/sha1cd v0.3.2 h1:a9wb0bp1oC2TGwStyn0Umc/IGKQnEgF0vVaZ8QF8eo4=
280280github.com/pjbgf/sha1cd v0.3.2 /go.mod h1:zQWigSxVmsHEZow5qaLtPYxpcKMMQpa09ixqBxuCS6A =
281281github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4 =
282282github.com/pkg/errors v0.9.1 /go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0 =
283- github.com/platformsh/platformify v0.4.1 h1:SJCcCDjIF13KVUNdZtm3SC1uy6iWFhtvJIljqAuIbXQ =
284- github.com/platformsh/platformify v0.4.1 /go.mod h1:fgmCcfQfHbhe1oXsIdIhpnniyZu8IdIMOlcBAa/ygic =
285283github.com/platformsh/platformify v0.4.2 h1:1qrU86HyF+h5V5Jfw5QugavriEq0t5nWvTqHi39tBXQ =
286284github.com/platformsh/platformify v0.4.2 /go.mod h1:fgmCcfQfHbhe1oXsIdIhpnniyZu8IdIMOlcBAa/ygic =
287285github.com/pmezard/go-difflib v1.0.0 /go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4 =
You can’t perform that action at this time.
0 commit comments