Skip to content

Commit

Permalink
Bump actions/setup-go from 3 to 5 (#163)
Browse files Browse the repository at this point in the history
* Bump actions/setup-go from 3 to 5

Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](actions/setup-go@v3...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* setup-go@v4+ includes caching by default

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Hayward <thayward@infoblox.com>
  • Loading branch information
dependabot[bot] and kd7lxl authored Jan 11, 2024
1 parent 62a045d commit 68ef94f
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,17 @@ jobs:
env:
HELM_VERSION: v3.4.2
steps:
- uses: actions/setup-go@v3
- uses: azure/setup-helm@v3.5
with:
version: ${{ env.HELM_VERSION }}
- name: Checkout code
uses: actions/checkout@v4
with:
path: ./src/github.com/${{ github.repository }}
- run: go version
- uses: actions/cache@v2
- uses: actions/setup-go@v5
with:
path: |
~/go/pkg/mod
${{ github.workspace }}/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
cache-dependency-path: "./src/github.com/${{ github.repository }}/go.sum"
- uses: azure/setup-helm@v3.5
with:
version: ${{ env.HELM_VERSION }}
- run: go version
- run: echo ${{ github.workspace }}/bin >> $GITHUB_PATH
- name: Test
working-directory: ./src/github.com/${{ github.repository }}
Expand Down

0 comments on commit 68ef94f

Please sign in to comment.