diff --git a/.forgejo/workflows/tests.yml b/.forgejo/workflows/tests.yml index 7883a2f..44d1d21 100644 --- a/.forgejo/workflows/tests.yml +++ b/.forgejo/workflows/tests.yml @@ -11,7 +11,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: '1.20' + go-version: '1.23' cache: true - name: Build lib run: make lib @@ -25,7 +25,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: '1.20' + go-version: '1.23' cache: true - name: golangci-lint @@ -44,7 +44,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: '1.20' + go-version: '1.23' cache: true - name: Run tests @@ -59,7 +59,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: '1.20' + go-version: '1.23' cache: true - name: Install staticcheck diff --git a/.golangci.yml b/.golangci.yml index dba7f0c..0a07763 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -12,7 +12,8 @@ run: # output configuration options output: # colored-line-number|line-number|json|tab|checkstyle|code-climate, default is "colored-line-number" - format: tab + formats: + - format: tab # all available settings of specific linters linters-settings: diff --git a/go.mod b/go.mod index 0690e7a..1b06bff 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,8 @@ module git.frostfs.info/TrueCloudLab/linters -go 1.21 +go 1.22 require ( github.com/mitchellh/mapstructure v1.5.0 - golang.org/x/tools v0.22.0 + golang.org/x/tools v0.24.0 ) diff --git a/go.sum b/go.sum index 9072c2e..d1e1011 100644 --- a/go.sum +++ b/go.sum @@ -1,4 +1,4 @@ github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -golang.org/x/tools v0.22.0 h1:gqSGLZqv+AI9lIQzniJ0nZDRG5GBPsSi+DRNHWNz6yA= -golang.org/x/tools v0.22.0/go.mod h1:aCwcsjqvq7Yqt6TNyX7QMU2enbQ/Gt0bo6krSeEri+c= +golang.org/x/tools v0.24.0 h1:J1shsA93PJUEVaUSaay7UXAyE8aimq3GW0pjlolpa24= +golang.org/x/tools v0.24.0/go.mod h1:YhNqVBIfWHdzvTLs0d8LCuMhkKUgSUKldakyV7W/WDQ=