File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 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": {},
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments