Skip to content

Commit 28be536

Browse files
authored
chore(deps): update workflows (major) (#709)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/download-artifact](https://github.com/actions/download-artifact) | action | major | `v3` -> `v4` | | [actions/setup-go](https://github.com/actions/setup-go) | action | major | `v4.1.0` -> `v5.0.0` | | [actions/setup-go](https://github.com/actions/setup-go) | action | major | `v4` -> `v5` | | [actions/upload-artifact](https://github.com/actions/upload-artifact) | action | major | `v3.1.3` -> `v4.0.0` | | [github/codeql-action](https://github.com/github/codeql-action) | action | major | `v2.23.0` -> `v3.23.0` | --- ### Release Notes <details> <summary>actions/download-artifact (actions/download-artifact)</summary> ### [`v4`](https://github.com/actions/download-artifact/compare/v3...v4) [Compare Source](https://github.com/actions/download-artifact/compare/v3...v4) </details> <details> <summary>actions/setup-go (actions/setup-go)</summary> ### [`v5.0.0`](https://github.com/actions/setup-go/releases/tag/v5.0.0) [Compare Source](https://github.com/actions/setup-go/compare/v4.1.0...v5.0.0) ##### What's Changed In scope of this release, we change Nodejs runtime from node16 to node20 ([https://github.com/actions/setup-go/pull/421](https://github.com/actions/setup-go/pull/421)). Moreover, we update some dependencies to the latest versions ([https://github.com/actions/setup-go/pull/445](https://github.com/actions/setup-go/pull/445)). Besides, this release contains such changes as: - Fix hosted tool cache usage on windows by [@&#8203;galargh](https://github.com/galargh) in [https://github.com/actions/setup-go/pull/411](https://github.com/actions/setup-go/pull/411) - Improve documentation regarding dependencies caching by [@&#8203;artemgavrilov](https://github.com/artemgavrilov) in [https://github.com/actions/setup-go/pull/417](https://github.com/actions/setup-go/pull/417) ##### New Contributors - [@&#8203;galargh](https://github.com/galargh) made their first contribution in [https://github.com/actions/setup-go/pull/411](https://github.com/actions/setup-go/pull/411) - [@&#8203;artemgavrilov](https://github.com/artemgavrilov) made their first contribution in [https://github.com/actions/setup-go/pull/417](https://github.com/actions/setup-go/pull/417) - [@&#8203;chenrui333](https://github.com/chenrui333) made their first contribution in [https://github.com/actions/setup-go/pull/421](https://github.com/actions/setup-go/pull/421) **Full Changelog**: actions/setup-go@v4...v5.0.0 </details> <details> <summary>actions/upload-artifact (actions/upload-artifact)</summary> ### [`v4.0.0`](https://github.com/actions/upload-artifact/releases/tag/v4.0.0) [Compare Source](https://github.com/actions/upload-artifact/compare/v3.1.3...v4.0.0) #### What's Changed The release of upload-artifact@v4 and download-artifact@v4 are major changes to the backend architecture of Artifacts. They have numerous performance and behavioral improvements. For more information, see the [@&#8203;actions/artifact](https://github.com/actions/toolkit/tree/main/packages/artifact) documentation. #### New Contributors - [@&#8203;vmjoseph](https://github.com/vmjoseph) made their first contribution in [https://github.com/actions/upload-artifact/pull/464](https://github.com/actions/upload-artifact/pull/464) **Full Changelog**: actions/upload-artifact@v3...v4.0.0 </details> <details> <summary>github/codeql-action (github/codeql-action)</summary> ### [`v3.23.0`](https://github.com/github/codeql-action/compare/v3.22.12...v3.23.0) [Compare Source](https://github.com/github/codeql-action/compare/v3.22.12...v3.23.0) ### [`v3.22.12`](https://github.com/github/codeql-action/compare/v3.22.11...v3.22.12) [Compare Source](https://github.com/github/codeql-action/compare/v3.22.11...v3.22.12) ### [`v3.22.11`](https://github.com/github/codeql-action/compare/v2.22.11...v3.22.11) [Compare Source](https://github.com/github/codeql-action/compare/v2.23.0...v3.22.11) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 6am on monday" in timezone Australia/Sydney, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/google/osv-scanner). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy45My4xIiwidXBkYXRlZEluVmVyIjoiMzcuMTI3LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->
1 parent 1a98a1c commit 28be536

7 files changed

+18
-18
lines changed

.github/workflows/checks.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
with:
4747
persist-credentials: false
4848
- name: Set up Go
49-
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
49+
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
5050
with:
5151
go-version-file: .go-version
5252
check-latest: true
@@ -65,7 +65,7 @@ jobs:
6565
with:
6666
persist-credentials: false
6767
- name: Set up Go
68-
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
68+
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
6969
with:
7070
go-version-file: .go-version
7171
check-latest: true

.github/workflows/codeql-analysis.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ jobs:
4343
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
4444
# Update go to the latest version to support minor go versions is go.mod file
4545
- name: Install Go
46-
uses: actions/setup-go@v4
46+
uses: actions/setup-go@v5
4747
with:
4848
go-version-file: go.mod
4949
# Initializes the CodeQL tools for scanning.
5050
- name: Initialize CodeQL
51-
uses: github/codeql-action/init@8b7fcbfac2aae0e6c24d9f9ebd5830b1290b18e4 # v2.23.0
51+
uses: github/codeql-action/init@e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 # v3.23.0
5252
with:
5353
languages: ${{ matrix.language }}
5454
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -59,7 +59,7 @@ jobs:
5959
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
6060
# If this step fails, then you should remove it and run the build manually (see below)
6161
- name: Autobuild
62-
uses: github/codeql-action/autobuild@8b7fcbfac2aae0e6c24d9f9ebd5830b1290b18e4 # v2.23.0
62+
uses: github/codeql-action/autobuild@e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 # v3.23.0
6363

6464
# ℹ️ Command-line programs to run using the OS shell.
6565
# 📚 https://git.io/JvXDl
@@ -73,4 +73,4 @@ jobs:
7373
# make release
7474

7575
- name: Perform CodeQL Analysis
76-
uses: github/codeql-action/analyze@8b7fcbfac2aae0e6c24d9f9ebd5830b1290b18e4 # v2.23.0
76+
uses: github/codeql-action/analyze@e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 # v3.23.0

.github/workflows/goreleaser.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
fetch-depth: 0
2929
ref: ${{ inputs.commit }}
3030
- name: Set up Go
31-
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
31+
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
3232
with:
3333
go-version-file: .go-version
3434
check-latest: true

.github/workflows/osv-scanner-reusable-pr.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -83,28 +83,28 @@ jobs:
8383
# format to the repository Actions tab.
8484
- name: "Upload artifact"
8585
if: "!cancelled()"
86-
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
86+
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
8787
with:
8888
name: SARIF file
8989
path: ${{ inputs.results-file-name }}
9090
retention-days: 5
9191
- name: "Upload old scan json results"
9292
if: "!cancelled()"
93-
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
93+
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
9494
with:
9595
name: old-json-results
9696
path: old-results.json
9797
retention-days: 5
9898
- name: "Upload new scan json results"
9999
if: "!cancelled()"
100-
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
100+
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
101101
with:
102102
name: new-json-results
103103
path: new-results.json
104104
retention-days: 5
105105
# Upload the results to GitHub's code scanning dashboard.
106106
- name: "Upload to code-scanning"
107107
if: ${{ !cancelled() && inputs.upload-sarif == true }}
108-
uses: github/codeql-action/upload-sarif@8b7fcbfac2aae0e6c24d9f9ebd5830b1290b18e4 # v2.23.0
108+
uses: github/codeql-action/upload-sarif@e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 # v3.23.0
109109
with:
110110
sarif_file: ${{ inputs.results-file-name }}

.github/workflows/osv-scanner-reusable.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
with:
5656
persist-credentials: false
5757
- name: "Download custom artifact if specified"
58-
uses: actions/download-artifact@v3
58+
uses: actions/download-artifact@v4
5959
if: "${{ inputs.download-artifact != '' }}"
6060
with:
6161
name: "${{ inputs.download-artifact }}"
@@ -80,14 +80,14 @@ jobs:
8080
# format to the repository Actions tab.
8181
- name: "Upload artifact"
8282
if: "!cancelled()"
83-
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
83+
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
8484
with:
8585
name: SARIF file
8686
path: ${{ inputs.results-file-name }}
8787
retention-days: 5
8888
# Upload the results to GitHub's code scanning dashboard.
8989
- name: "Upload to code-scanning"
9090
if: "${{ !cancelled() && inputs.upload-sarif == true }}"
91-
uses: github/codeql-action/upload-sarif@8b7fcbfac2aae0e6c24d9f9ebd5830b1290b18e4 # v2.23.0
91+
uses: github/codeql-action/upload-sarif@e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 # v3.23.0
9292
with:
9393
sarif_file: ${{ inputs.results-file-name }}

.github/workflows/prerelease-check.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
persist-credentials: false
4848
ref: ${{ inputs.commit }}
4949
- name: Set up Go
50-
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
50+
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
5151
with:
5252
go-version-file: .go-version
5353
check-latest: true
@@ -67,7 +67,7 @@ jobs:
6767
persist-credentials: false
6868
ref: ${{ inputs.commit }}
6969
- name: Set up Go
70-
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
70+
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
7171
with:
7272
go-version-file: .go-version
7373
check-latest: true

.github/workflows/scorecards.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@ jobs:
5959
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
6060
# format to the repository Actions tab.
6161
- name: "Upload artifact"
62-
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
62+
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
6363
with:
6464
name: SARIF file
6565
path: results.sarif
6666
retention-days: 5
6767

6868
# Upload the results to GitHub's code scanning dashboard.
6969
- name: "Upload to code-scanning"
70-
uses: github/codeql-action/upload-sarif@8b7fcbfac2aae0e6c24d9f9ebd5830b1290b18e4 # v2.23.0
70+
uses: github/codeql-action/upload-sarif@e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 # v3.23.0
7171
with:
7272
sarif_file: results.sarif

0 commit comments

Comments
 (0)