Skip to content

Commit 552fdbc

Browse files
committed
chore: fix github-action warnings and errors
1 parent c7fda69 commit 552fdbc

File tree

3 files changed

+15
-13
lines changed

3 files changed

+15
-13
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
- name: Checkout repository
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020
with:
2121
# We must fetch at least the immediate parents so that if this is
2222
# a pull request then we can checkout the head.
@@ -29,15 +29,15 @@ jobs:
2929

3030
# Initializes the CodeQL tools for scanning.
3131
- name: Initialize CodeQL
32-
uses: github/codeql-action/init@v1
32+
uses: github/codeql-action/init@v3
3333
# Override language selection by uncommenting this and choosing your languages
3434
# with:
3535
# languages: go, javascript, csharp, python, cpp, java
3636

3737
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
3838
# If this step fails, then you should remove it and run the build manually (see below)
3939
- name: Autobuild
40-
uses: github/codeql-action/autobuild@v1
40+
uses: github/codeql-action/autobuild@v3
4141

4242
# ℹ️ Command-line programs to run using the OS shell.
4343
# 📚 https://git.io/JvXDl
@@ -51,4 +51,4 @@ jobs:
5151
# make release
5252

5353
- name: Perform CodeQL Analysis
54-
uses: github/codeql-action/analyze@v1
54+
uses: github/codeql-action/analyze@v3

.github/workflows/docker-publish.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,27 +35,27 @@ jobs:
3535

3636
steps:
3737
- name: Checkout repository
38-
uses: actions/checkout@v3
38+
uses: actions/checkout@v4
3939

4040
# Install the cosign tool except on PR
4141
# https://github.com/sigstore/cosign-installer
4242
- name: Install cosign
4343
if: github.event_name != 'pull_request'
44-
uses: sigstore/cosign-installer@6e04d228eb30da1757ee4e1dd75a0ec73a653e06 #v3.1.1
44+
uses: sigstore/cosign-installer@4959ce089c160fddf62f7b42464195ba1a56d382 #v3.6.0
4545
with:
46-
cosign-release: 'v2.1.1'
46+
cosign-release: 'v2.4.0'
4747

4848
# Set up BuildKit Docker container builder to be able to build
4949
# multi-platform images and export cache
5050
# https://github.com/docker/setup-buildx-action
5151
- name: Set up Docker Buildx
52-
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0
52+
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1
5353

5454
# Login against a Docker registry except on PR
5555
# https://github.com/docker/login-action
5656
- name: Log into registry ${{ env.REGISTRY }}
5757
if: github.event_name != 'pull_request'
58-
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
58+
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
5959
with:
6060
registry: ${{ env.REGISTRY }}
6161
username: ${{ github.actor }}
@@ -65,15 +65,17 @@ jobs:
6565
# https://github.com/docker/metadata-action
6666
- name: Extract Docker metadata
6767
id: meta
68-
uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
68+
uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1
6969
with:
7070
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
7171

7272
# Build and push Docker image with Buildx (don't push on PR)
7373
# https://github.com/docker/build-push-action
7474
- name: Build and push Docker image
7575
id: build-and-push
76-
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
76+
uses: docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6.7.0
77+
env:
78+
DOCKER_BUILD_RECORD_UPLOAD: false
7779
with:
7880
context: .
7981
platforms: linux/amd64,linux/arm64

.github/workflows/go.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
build:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515

1616
- name: Set up Go
17-
uses: actions/setup-go@v4
17+
uses: actions/setup-go@v5
1818
with:
1919
go-version-file: './go.mod'
2020

0 commit comments

Comments
 (0)