Skip to content

Commit d725558

Browse files
authored
Merge pull request #45 from cerbos/modupdate
update go deps
2 parents c47845c + e95df7e commit d725558

File tree

17 files changed

+154
-152
lines changed

17 files changed

+154
-152
lines changed

.github/actions/setup-go/action.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ runs:
3333

3434
- name: Cache dependencies
3535
id: cache
36-
uses: actions/cache/restore@v4
36+
uses: actions/cache/restore@8b402f58fbc84540c8b491a91e594a4576fec3d7
3737
with:
3838
path: ${{ steps.cache-inputs.outputs.paths }}
3939
key: ${{ steps.cache-inputs.outputs.key }}
4040
restore-keys: ${{ steps.cache-inputs.outputs.restore-keys }}
4141

4242
- name: Install Go
43-
uses: actions/setup-go@v5
43+
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5
4444
with:
45-
go-version: 1.24.x
45+
go-version: 1.25.x
4646
check-latest: true
4747
cache: false

.github/workflows/cache.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
steps:
2222
- name: Check out code
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
2424
with:
2525
lfs: true
2626

@@ -39,14 +39,14 @@ jobs:
3939
run: "go build ./... && go test -run=ignore ./... > /dev/null"
4040

4141
- name: Run golangci-lint
42-
uses: golangci/golangci-lint-action@v8
42+
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20
4343
with:
4444
version: latest
4545
args: '--config=.golangci.yaml'
4646

4747
- name: Write go cache
4848
id: cache
49-
uses: actions/cache/save@v4
49+
uses: actions/cache/save@8b402f58fbc84540c8b491a91e594a4576fec3d7
5050
with:
5151
path: ${{ steps.setup-go.outputs.cache-paths }}
5252
key: ${{ steps.setup-go.outputs.cache-key }}

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424

2525
steps:
2626
- name: Checkout repository
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
2828

2929
# Initializes the CodeQL tools for scanning.
3030
- name: Initialize CodeQL
31-
uses: github/codeql-action/init@v3
31+
uses: github/codeql-action/init@19b2f06db2b6f5108140aeb04014ef02b648f789
3232
with:
3333
languages: ${{ matrix.language }}
3434
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -42,7 +42,7 @@ jobs:
4242
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
4343
# If this step fails, then you should remove it and run the build manually (see below)
4444
- name: Autobuild
45-
uses: github/codeql-action/autobuild@v3
45+
uses: github/codeql-action/autobuild@19b2f06db2b6f5108140aeb04014ef02b648f789
4646

4747
# ℹ️ Command-line programs to run using the OS shell.
4848
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -55,6 +55,6 @@ jobs:
5555
# ./location_of_script_within_repo/buildscript.sh
5656

5757
- name: Perform CodeQL Analysis
58-
uses: github/codeql-action/analyze@v3
58+
uses: github/codeql-action/analyze@19b2f06db2b6f5108140aeb04014ef02b648f789
5959
with:
6060
category: "/language:${{matrix.language}}"

.github/workflows/path-changes.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
steps:
2525
- name: Check out code
2626
if: github.event_name != 'pull_request'
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
2828

2929
- name: Filter changed paths
30-
uses: dorny/paths-filter@v3
30+
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36
3131
id: filter
3232
with:
3333
filters: |

.github/workflows/pr-test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
timeout-minutes: 30
1616
steps:
1717
- name: Checkout code
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
1919
with:
2020
lfs: true
2121

@@ -26,7 +26,7 @@ jobs:
2626
run: go tool github.com/rhysd/actionlint/cmd/actionlint
2727

2828
- name: golangci-lint
29-
uses: golangci/golangci-lint-action@v8.0.0
29+
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20
3030
with:
3131
version: latest
3232
args: '--config=.golangci.yaml -v'
@@ -35,13 +35,13 @@ jobs:
3535
run: go test ./...
3636

3737
- name: Upload JUnit reports
38-
uses: actions/upload-artifact@v4
38+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
3939
with:
4040
name: junit-reports-${{ strategy.job-index }}
4141
path: junit.*.xml
4242

4343
- name: Upload to CodeCov
44-
uses: codecov/codecov-action@v5
44+
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de
4545
with:
4646
token: ${{ secrets.CODECOV_TOKEN }}
4747
files: "unit.cover,integration.cover"

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ jobs:
1717
timeout-minutes: 30
1818
steps:
1919
- name: Checkout code
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
2121
with:
2222
fetch-depth: 0
2323

2424
- name: Install Go
2525
uses: ./.github/actions/setup-go
2626

2727
- name: GoReleaser
28-
uses: goreleaser/goreleaser-action@v6
28+
uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a
2929
with:
3030
version: latest
3131
args: release --config=.goreleaser.yml --clean

.github/workflows/vulnerability-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
timeout-minutes: 15
1515
steps:
1616
- name: Checkout code
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
1818

1919
- name: Install Go
2020
uses: ./.github/actions/setup-go

.golangci.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ linters:
3333
- noctx
3434
- nolintlint
3535
- perfsprint
36-
- prealloc
3736
- predeclared
3837
- promlinter
3938
- protogetter

cmd/reimage/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021-2025 Zenauth Ltd.
1+
// Copyright 2021-2026 Zenauth Ltd.
22
// SPDX-License-Identifier: Apache-2.0
33

44
// Package main is the main reimage binary

cmd/reimage/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021-2025 Zenauth Ltd.
1+
// Copyright 2021-2026 Zenauth Ltd.
22
// SPDX-License-Identifier: Apache-2.0
33

44
package main

0 commit comments

Comments
 (0)