Skip to content

Commit 90791c0

Browse files
Merge pull request #2 from github-samples/dependabot/github_actions/golangci/golangci-lint-action-8.0.0
Bump golangci/golangci-lint-action from 7.0.0 to 8.0.0
2 parents a159327 + 3acd7a3 commit 90791c0

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.devcontainer/devcontainer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,17 @@
2020
"golang.Go"
2121
]
2222
}
23-
}
23+
},
2424

2525
// Features to add to the dev container. More info: https://containers.dev/features.
2626
// "features": {},
2727

28+
2829
// Use 'forwardPorts' to make a list of ports inside the container available locally.
2930
// "forwardPorts": [],
3031

3132
// Use 'postCreateCommand' to run commands after the container is created.
32-
// "postCreateCommand": "go version",
33+
"postCreateCommand": "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.1.6",
3334

3435
// Configure tool-specific properties.
3536
// "customizations": {},

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
go-version: '1.24' # You can change this to your desired Go version
2323

2424
- name: Install golangci-lint
25-
uses: golangci/golangci-lint-action@1481404843c368bc19ca9406f87d6e0fc97bdcfd
25+
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9
2626
with:
2727
version: latest
2828

0 commit comments

Comments
 (0)