Skip to content

Commit acb4c9a

Browse files
committed
fix: align CI config with flashduty-mcp-server
- Upgrade golangci-lint-action to v8 with version v2.1 - Remove 'default: standard' from linters config - Downgrade buildkit-cache-dance to v2.1.4 (v3 deprecated cache-source)
1 parent 870144e commit acb4c9a

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
key: ${{ runner.os }}-go-build-cache-${{ hashFiles('**/go.sum') }}
6363

6464
- name: Inject go-build-cache
65-
uses: reproducible-containers/buildkit-cache-dance@v3
65+
uses: reproducible-containers/buildkit-cache-dance@4b2444fec0c0fb9dbf175a96c094720a692ef810 # v2.1.4
6666
with:
6767
cache-source: go-build-cache
6868

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ jobs:
2121
go-version-file: "go.mod"
2222

2323
- name: golangci-lint
24-
uses: golangci/golangci-lint-action@v6
24+
uses: golangci/golangci-lint-action@v8
2525
with:
26-
version: latest
26+
version: v2.1

.golangci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ run:
77
concurrency: 4
88

99
linters:
10-
default: standard
1110
enable:
1211
- govet
1312
- errcheck

0 commit comments

Comments
 (0)