Bump golangci/golangci-lint-action from 2 to 3 (#61)
* Bump golangci/golangci-lint-action from 2 to 3 Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 2 to 3. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](https://github.com/golangci/golangci-lint-action/compare/v2...v3) --- updated-dependencies: - dependency-name: golangci/golangci-lint-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Run `go get` before `golangci-lint` Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joshua Spence <josh@spence.com.au>
This commit is contained in:
11
.github/workflows/ci.yaml
vendored
11
.github/workflows/ci.yaml
vendored
@@ -51,7 +51,16 @@ jobs:
|
|||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
steps:
|
steps:
|
||||||
- uses: "actions/checkout@v2"
|
- uses: "actions/checkout@v2"
|
||||||
- uses: "golangci/golangci-lint-action@v2"
|
- uses: "actions/cache@v2"
|
||||||
|
with:
|
||||||
|
path: "~/go/pkg/mod"
|
||||||
|
key: "${{ runner.os }}-gomod-${{ hashFiles('**/go.sum') }}"
|
||||||
|
|
||||||
|
- uses: "actions/setup-go@v2"
|
||||||
|
with:
|
||||||
|
go-version: "${{ env.GO_VERSION }}"
|
||||||
|
- run: "go get ./..."
|
||||||
|
- uses: "golangci/golangci-lint-action@v3"
|
||||||
|
|
||||||
test:
|
test:
|
||||||
needs: "build"
|
needs: "build"
|
||||||
|
|||||||
Reference in New Issue
Block a user