Skip to content

Commit 6f5a868

Browse files
committed
workflows: switch to setup-go v4
Cache dependencies and build outputs by default.
1 parent 39c6aef commit 6f5a868

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/containers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
run: sudo apt-get install libsystemd-dev
2929
- uses: actions/checkout@v3
3030
- name: Setup go
31-
uses: actions/setup-go@v1
31+
uses: actions/setup-go@v4
3232
with:
3333
go-version: ${{ env['GO_TOOLCHAIN'] }}
3434
- name: Go build (source)

.github/workflows/go.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
run: sudo apt-get install libsystemd-dev
2626
- uses: actions/checkout@v3
2727
- name: Setup go
28-
uses: actions/setup-go@v3
28+
uses: actions/setup-go@v4
2929
with:
3030
go-version: ${{ matrix.go }}
3131
- name: Go fmt
@@ -45,7 +45,7 @@ jobs:
4545
run: sudo apt-get install libsystemd-dev
4646
- uses: actions/checkout@v3
4747
- name: Setup go
48-
uses: actions/setup-go@v3
48+
uses: actions/setup-go@v4
4949
with:
5050
go-version: ${{ env['ACTION_MINIMUM_TOOLCHAIN'] }}
5151
- name: Go fmt

0 commit comments

Comments
 (0)