[ci] Upgrade github actions

This commit is contained in:
2026-06-05 14:47:54 +02:00
parent 52b6302615
commit 78c4d3ae73
2 changed files with 9 additions and 9 deletions
+4 -4
View File
@@ -31,16 +31,16 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v6
- name: install go - name: install go
uses: actions/setup-go@v5 uses: actions/setup-go@v6
with: with:
go-version-file: go.mod go-version-file: go.mod
cache: true cache: true
- name: Initialize CodeQL - name: Initialize CodeQL
uses: github/codeql-action/init@v3 uses: github/codeql-action/init@v4
with: with:
languages: go languages: go
@@ -49,4 +49,4 @@ jobs:
make build make build
- name: Perform CodeQL Analysis - name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3 uses: github/codeql-action/analyze@v4
+5 -5
View File
@@ -17,10 +17,10 @@ jobs:
matrix: matrix:
make: ["lint", "unit-test", "integration-test"] make: ["lint", "unit-test", "integration-test"]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- name: install go - name: install go
uses: actions/setup-go@v5 uses: actions/setup-go@v6
with: with:
go-version-file: go.mod go-version-file: go.mod
@@ -35,11 +35,11 @@ jobs:
matrix: matrix:
goosarch: [linux-amd64] goosarch: [linux-amd64]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
with: with:
fetch-depth: 0 fetch-depth: 0
- name: install go - name: install go
uses: actions/setup-go@v5 uses: actions/setup-go@v6
with: with:
go-version-file: go.mod go-version-file: go.mod
cache: true cache: true
@@ -63,7 +63,7 @@ jobs:
sha256sum whatismyip-$RELEASE_VERSION-${{matrix.goosarch}}.tar.gz > whatismyip-$RELEASE_VERSION-${{matrix.goosarch}}.tar.gz.sha256 sha256sum whatismyip-$RELEASE_VERSION-${{matrix.goosarch}}.tar.gz > whatismyip-$RELEASE_VERSION-${{matrix.goosarch}}.tar.gz.sha256
- name: Release - name: Release
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v3
with: with:
body_path: changelog.txt body_path: changelog.txt
files: | files: |