Skip to content

Commit 1095947

Browse files
Bump actions/setup-go from 3.5.0 to 4.0.0 (#469)
* Bump actions/setup-go from 3.5.0 to 4.0.0 Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3.5.0 to 4.0.0. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](actions/setup-go@6edd440...4d34df0) --- 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> * Remove cache key as it's always enabled now --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Luca Comellini <luca.com@gmail.com>
1 parent 09327b9 commit 1095947

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,17 @@ jobs:
3737
steps:
3838
- name: Checkout Repository
3939
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
40+
4041
- name: Setup Golang Environment
41-
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
42+
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
4243
with:
4344
go-version-file: go.mod
44-
cache: true
45+
4546
- name: Output Variables
4647
id: vars
4748
run: |
4849
echo "go_path=$(go env GOPATH)" >> $GITHUB_OUTPUT
50+
4951
- name: Check if go.mod and go.sum are up to date
5052
run: |
5153
go mod tidy && git diff --exit-code -- go.mod go.sum
@@ -57,13 +59,15 @@ jobs:
5759
steps:
5860
- name: Checkout Repository
5961
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
62+
6063
- name: Setup Golang Environment
61-
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
64+
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
6265
with:
6366
go-version-file: go.mod
64-
cache: true
67+
6568
- name: Run Tests
6669
run: make unit-test
70+
6771
- name: Upload Coverage Report
6872
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
6973
with:
@@ -93,11 +97,11 @@ jobs:
9397
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
9498
with:
9599
fetch-depth: 0
100+
96101
- name: Setup Golang Environment
97-
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
102+
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
98103
with:
99104
go-version-file: go.mod
100-
cache: true
101105

102106
- name: Publish release on tag
103107
uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Checkout Repository
3030
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
3131
- name: Setup Golang Environment
32-
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
32+
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
3333
with:
3434
go-version-file: go.mod
3535
- name: Lint Code

0 commit comments

Comments
 (0)