Skip to content

Commit 9fabd9d

Browse files
committed
chore: Use golangci-lint-action; remove newreposecretwithlibsodium
1 parent a12b8d7 commit 9fabd9d

4 files changed

Lines changed: 7 additions & 184 deletions

File tree

.github/workflows/linter.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@ jobs:
1313
with:
1414
go-version: stable
1515
cache-dependency-path: "**/go.sum"
16-
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
16+
- name: Check generated code
17+
run: ./script/generate.sh --check
18+
- uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
1719
with:
18-
path: |
19-
bin/golangci-lint
20-
bin/custom-gcl
21-
key: ${{ runner.os }}-${{ runner.arch }}-tools-${{ hashFiles('.custom-gcl.yml', 'tools/**/go.mod', 'tools/**/go.sum', 'tools/**/*.go') }}
22-
- run: script/lint.sh
20+
version: v2.10.1 # sync with version in .custom-gcl.yml
21+
experimental: "automatic-module-directories"
22+
- name: Check OpenAPI
23+
run: ./script/metadata.sh update-openapi --validate
2324
env:
2425
CHECK_GITHUB_OPENAPI: 1
2526
GITHUB_TOKEN: ${{ github.token }}

example/newreposecretwithlibsodium/go.mod

Lines changed: 0 additions & 13 deletions
This file was deleted.

example/newreposecretwithlibsodium/go.sum

Lines changed: 0 additions & 7 deletions
This file was deleted.

example/newreposecretwithlibsodium/main.go

Lines changed: 0 additions & 158 deletions
This file was deleted.

0 commit comments

Comments
 (0)