Skip to content

Commit d7048f2

Browse files
committed
ci: bump action versions, fix persist-credentials
Ran `zizmor swallowjson` to report issues. We do not need subsequent git actions to work against the repo, so do not need to persist credentials. Bump action versions while I'm here.
1 parent 63ca382 commit d7048f2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/pushes.yaml

+5-3
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,14 @@ jobs:
2828
steps:
2929

3030
- name: Checkout
31-
uses: actions/checkout@v3
31+
uses: actions/checkout@v4
3232
with:
3333
fetch-depth: 0
34+
# security posture improvement:
35+
persist-credentials: false
3436

3537
- name: Set up Go
36-
uses: actions/setup-go@v3
38+
uses: actions/setup-go@v5
3739
with:
3840
go-version: ${{ matrix.go }}
3941

@@ -51,7 +53,7 @@ jobs:
5153
# These are independent of how the matrix is setup, or if a matrix is even used.
5254

5355
- name: Go caches
54-
uses: actions/cache@v3
56+
uses: actions/cache@v4
5557
with:
5658
# (This bit copied from the actions/setup-go@v2 version)
5759
# In order:

0 commit comments

Comments
 (0)