Skip to content

Commit fb0ddaa

Browse files
committed
Update GitHub Actions to Node.js 24 versions and macos-15-intel runner
1 parent c3dbcd5 commit fb0ddaa

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ jobs:
2121

2222
steps:
2323

24-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
24+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2525
with:
2626
persist-credentials: false
2727

28-
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
28+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
2929
with:
3030
token: ${{ secrets.GITHUB_TOKEN }}
3131
node-version: 24
@@ -46,7 +46,7 @@ jobs:
4646

4747
- run: npm run build
4848

49-
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
49+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
5050
with:
5151
name: js
5252
path: |
@@ -81,13 +81,13 @@ jobs:
8181
- os: macos-14
8282
cpu: darwin_arm64
8383
bazel_target: dist_zip
84-
- os: macos-14-large
84+
- os: macos-15-intel
8585
cpu: darwin_x86_64
8686
bazel_target: dist_zip
8787

8888

8989
steps:
90-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
90+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
9191
with:
9292
persist-credentials: false
9393

@@ -110,7 +110,7 @@ jobs:
110110
# need to copy to output directory as `bazel-bin` is a symlink and cannot be read by the actions/upload-artifact action
111111
- run: cp bazel-bin/protobuf-javascript-* out/
112112

113-
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
113+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
114114
with:
115115
name: release-${{ matrix.os }}-${{ matrix.cpu }}
116116
path: out

‎.github/workflows/codeql.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ jobs:
4949

5050
steps:
5151
- name: Checkout repository
52-
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
52+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
5353
with:
5454
persist-credentials: false
5555

5656
# Initializes the CodeQL tools for scanning.
5757
- name: Initialize CodeQL
58-
uses: github/codeql-action/init@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4
58+
uses: github/codeql-action/init@1c5b675653bb5c22dbe9b12b556ec555138e09fd # v4.38.1
5959
with:
6060
languages: ${{ matrix.language }}
6161
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -83,4 +83,4 @@ jobs:
8383
- run: npm test
8484

8585
- name: Perform CodeQL Analysis
86-
uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4
86+
uses: github/codeql-action/analyze@1c5b675653bb5c22dbe9b12b556ec555138e09fd # v4.38.1

‎.github/workflows/scorecards.yml‎

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

3333
steps:
3434
- name: "Checkout code"
35-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
35+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3636
with:
3737
persist-credentials: false
3838

@@ -54,14 +54,14 @@ jobs:
5454
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
5555
# format to the repository Actions tab.
5656
- name: "Upload artifact"
57-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
57+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
5858
with:
5959
path: results.sarif
6060
retention-days: 5
6161

6262
# Upload the results to GitHub's code scanning dashboard (optional).
6363
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
6464
- name: "Upload to code-scanning"
65-
uses: github/codeql-action/upload-sarif@96f518a34f7a870018057716cc4d7a5c014bd61c # v3.29.10
65+
uses: github/codeql-action/upload-sarif@1c5b675653bb5c22dbe9b12b556ec555138e09fd # v4.38.1
6666
with:
6767
sarif_file: results.sarif

0 commit comments

Comments
 (0)