Skip to content

Commit

Permalink
ci: bump action versions, fix persist-credentials
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
philpennock committed Jan 3, 2025
1 parent 63ca382 commit d7048f2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/pushes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,14 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
# security posture improvement:
persist-credentials: false

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}

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

- name: Go caches
uses: actions/cache@v3
uses: actions/cache@v4
with:
# (This bit copied from the actions/setup-go@v2 version)
# In order:
Expand Down

0 comments on commit d7048f2

Please sign in to comment.