From df92365aefcaf447562b0e25f6ddbe120b03a897 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 Mar 2023 08:37:01 +0000 Subject: [PATCH] Bump actions/setup-go from 2 to 4 Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 4. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](https://github.com/actions/setup-go/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/setup-go dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/acceptance-test.yml | 2 +- .github/workflows/go-test.yml | 6 +++--- .github/workflows/go-validate.yml | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/acceptance-test.yml b/.github/workflows/acceptance-test.yml index 5c2425251ac..1d5c4ef6f42 100644 --- a/.github/workflows/acceptance-test.yml +++ b/.github/workflows/acceptance-test.yml @@ -41,7 +41,7 @@ jobs: PACKER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - uses: actions/checkout@v2 - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v4 with: go-version: ${{ needs.get-go-version.outputs.go-version }} - name: IAM Assume Role diff --git a/.github/workflows/go-test.yml b/.github/workflows/go-test.yml index 04d8159ae1d..ecdb45b5bd9 100644 --- a/.github/workflows/go-test.yml +++ b/.github/workflows/go-test.yml @@ -23,7 +23,7 @@ jobs: name: Linux go tests steps: - uses: actions/checkout@v2 - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v4 with: go-version: '1.18' - run: TESTARGS="-coverprofile=coverage.txt -covermode=atomic" make ci @@ -32,7 +32,7 @@ jobs: name: Darwin go tests steps: - uses: actions/checkout@v2 - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v4 with: go-version: '1.18' - run: go test ./... -coverprofile=coverage.txt -covermode=atomic @@ -41,7 +41,7 @@ jobs: name: Windows go tests steps: - uses: actions/checkout@v2 - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v4 with: go-version: '1.18' - run: go test ./... -coverprofile=coverage.txt -covermode=atomic diff --git a/.github/workflows/go-validate.yml b/.github/workflows/go-validate.yml index 878f7a2238a..068dc79a168 100644 --- a/.github/workflows/go-validate.yml +++ b/.github/workflows/go-validate.yml @@ -19,7 +19,7 @@ jobs: name: Go Mod Tidy steps: - uses: actions/checkout@v2 - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v4 with: go-version: '1.18' - run: go mod tidy @@ -30,7 +30,7 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v4 with: go-version: '1.18' - run: echo "$GITHUB_SHA" @@ -42,7 +42,7 @@ jobs: name: Fmt check steps: - uses: actions/checkout@v2 - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v4 with: go-version: '1.18' - run: make fmt-check @@ -51,7 +51,7 @@ jobs: name: Generate check steps: - uses: actions/checkout@v2 - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v4 with: go-version: '1.18' - run: make generate-check