Compare commits

..

No commits in common. "master" and "bump-go-version" have entirely different histories.

5 changed files with 8 additions and 11 deletions

View file

@ -29,7 +29,7 @@ jobs:
cache: true cache: true
- name: golangci-lint - name: golangci-lint
uses: actions/golangci-lint@v3 uses: https://github.com/golangci/golangci-lint-action@v3
with: with:
version: latest version: latest

View file

@ -47,7 +47,7 @@ linters:
- bidichk - bidichk
- durationcheck - durationcheck
- exhaustive - exhaustive
- copyloopvar - exportloopref
- gofmt - gofmt
- goimports - goimports
- misspell - misspell

View file

@ -6,8 +6,7 @@ test:
lib: lib:
@mkdir -pv $(OUT_DIR) @mkdir -pv $(OUT_DIR)
@go build -buildmode=plugin -trimpath \ @go build -buildmode=plugin -o $(OUT_DIR)/external_linters.so $(PLUGIN_SOURCE)
-o $(OUT_DIR)/external_linters.so $(PLUGIN_SOURCE)
lint: lint:
@golangci-lint run @golangci-lint run

4
go.mod
View file

@ -1,8 +1,8 @@
module git.frostfs.info/TrueCloudLab/linters module git.frostfs.info/TrueCloudLab/linters
go 1.22.0 go 1.22
require ( require (
github.com/mitchellh/mapstructure v1.5.0 github.com/mitchellh/mapstructure v1.5.0
golang.org/x/tools v0.27.0 golang.org/x/tools v0.24.0
) )

6
go.sum
View file

@ -1,6 +1,4 @@
github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY=
github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
golang.org/x/tools v0.25.0 h1:oFU9pkj/iJgs+0DT+VMHrx+oBKs/LJMV+Uvg78sl+fE= golang.org/x/tools v0.24.0 h1:J1shsA93PJUEVaUSaay7UXAyE8aimq3GW0pjlolpa24=
golang.org/x/tools v0.25.0/go.mod h1:/vtpO8WL1N9cQC3FN5zPqb//fRXskFHbLKk4OW1Q7rg= golang.org/x/tools v0.24.0/go.mod h1:YhNqVBIfWHdzvTLs0d8LCuMhkKUgSUKldakyV7W/WDQ=
golang.org/x/tools v0.27.0 h1:qEKojBykQkQ4EynWy4S8Weg69NumxKdn40Fce3uc/8o=
golang.org/x/tools v0.27.0/go.mod h1:sUi0ZgbwW9ZPAq26Ekut+weQPR5eIM6GQLQ1Yjm1H0Q=