Skip to content

Commit 4bb7563

Browse files
committed
Update github-actions
1 parent 61bcb2f commit 4bb7563

14 files changed

Lines changed: 49 additions & 49 deletions

.github/actions/build-base-image/action.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ runs:
4747
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
4848

4949
- name: Cache BASE image
50-
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
50+
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
5151
if: inputs.TYPE == '64-bit' || inputs.TYPE == 'clang'
5252
with:
5353
path: otp_docker_base.tar
5454
key: ${{ runner.os }}-${{ hashFiles('.github/dockerfiles/Dockerfile.ubuntu-base', '.github/scripts/build-base-image.sh') }}-${{ steps.date.outputs.date }}-${{ hashFiles('OTP_VERSION') }}
5555

5656
- name: Docker login
57-
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
57+
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
5858
with:
5959
registry: ghcr.io
6060
username: ${{ github.repository_owner }}
@@ -67,7 +67,7 @@ runs:
6767
- name: Cache pre-built src
6868
id: cache-src
6969
if: inputs.BUILD_IMAGE == 'true'
70-
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
70+
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
7171
with:
7272
path: otp_src.tar.gz
7373
key: prebuilt-src-${{ github.ref_name }}-${{ github.sha }}
@@ -81,7 +81,7 @@ runs:
8181
- name: Cache pre-built binaries
8282
id: cache-binary
8383
if: inputs.BUILD_IMAGE == 'true' && steps.cache-src.outputs.cache-hit == 'true'
84-
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
84+
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
8585
with:
8686
path: otp_cache.tar.gz
8787
key: prebuilt-cache-${{ inputs.TYPE }}-${{ github.ref_name }}-${{ github.sha }}

.github/actions/ossf-compiler-flags-scanner/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ inputs:
2828
runs:
2929
using: composite
3030
steps:
31-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
31+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3232
with:
3333
repository: ossf/wg-best-practices-os-developers
3434
sparse-checkout: docs/Compiler-Hardening-Guides/compiler-options-scraper

.github/workflows/github-actions-checker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
runs-on: 'ubuntu-latest'
3535
name: 'ratchet'
3636
steps:
37-
- uses: 'actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd' # v6.0.2
37+
- uses: 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1' # v7.0.1
3838
- id: files
3939
run: |
4040
FILES=$(find .github/ -name "*.yml" -o -name "*.yaml" -printf "%p ")

.github/workflows/license-scanner.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
run-scan:
3636
runs-on: ubuntu-latest
3737
steps:
38-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
38+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3939
with:
4040
fetch-depth: '0'
4141
- uses: erlef/setup-beam@e6d7c94229049569db56a7ad5a540c051a010af9 # v1.20.4

.github/workflows/main.yaml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
runs-on: ubuntu-latest
6666
if: github.repository == 'erlang/otp' && github.event_name == 'pull_request'
6767
steps:
68-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
68+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
6969
with:
7070
fetch-depth: 0
7171

@@ -98,7 +98,7 @@ jobs:
9898
build-c-code: ${{ steps.c-code-changes.outputs.changes != '[]' || env.FULL_BUILD_AND_CHECK == 'true' }}
9999
all: ${{ steps.apps.outputs.all }}
100100
steps:
101-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
101+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
102102
- uses: ./.github/actions/build-base-image
103103
with:
104104
BASE_BRANCH: ${{ env.BASE_BRANCH }}
@@ -115,7 +115,7 @@ jobs:
115115
ALL_APPS=$(jq -n --arg inarr "${ALL_APPS}" '$inarr | split("\n")' | tr '\n' ' ')
116116
echo "all=${ALL_APPS}" >> $GITHUB_OUTPUT
117117
- name: Check which applications have changed
118-
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # ratchet:dorny/paths-filter@v3.0.2
118+
uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3
119119
id: app-changes
120120
with:
121121
filters: .github/scripts/path-filters.yaml
@@ -131,19 +131,19 @@ jobs:
131131
echo "changes=${CHANGED_APPS}" >> "$GITHUB_OUTPUT"
132132
fi
133133
- name: Check if there are any C-code changes, if not then limit CI run
134-
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # ratchet:dorny/paths-filter@v3.0.2
134+
uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3
135135
id: c-code-changes
136136
with:
137137
filters: .github/scripts/c-code-path-filters.yaml
138138
- name: Cache pre-built src
139-
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
139+
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
140140
with:
141141
path: otp_src.tar.gz
142142
key: prebuilt-src-${{ github.ref_name }}-${{ github.sha }}
143143
restore-keys: |
144144
prebuilt-src-${{ github.base_ref }}-${{ github.event.pull_request.base.sha }}
145145
- name: Cache pre-built binaries
146-
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
146+
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
147147
with:
148148
path: otp_cache.tar.gz
149149
key: prebuilt-cache-64-bit-${{ github.ref_name }}-${{ github.sha }}
@@ -157,7 +157,7 @@ jobs:
157157
name: otp_git_archive
158158
path: otp_archive.tar.gz
159159
- name: Check how we can use the pre-built cache
160-
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # ratchet:dorny/paths-filter@v3.0.2
160+
uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3
161161
id: cache
162162
with:
163163
filters: |
@@ -220,14 +220,14 @@ jobs:
220220
221221
build-macos:
222222
name: Build Erlang/OTP (macOS)
223-
runs-on: macos-15
223+
runs-on: macos-26
224224
needs: pack
225225
if: needs.pack.outputs.build-c-code == 'true'
226226
env:
227227
WXWIDGETS_VERSION: 3.2.9
228228
MACOS_VERSION: 15
229229
steps:
230-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
230+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
231231

232232
- name: Download source archive
233233
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
@@ -236,7 +236,7 @@ jobs:
236236

237237
- name: Cache wxWidgets
238238
id: wxwidgets-cache
239-
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
239+
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
240240
with:
241241
path: wxWidgets
242242
key: wxWidgets-${{ env.WXWIDGETS_VERSION }}-${{ runner.os }}-${{ hashFiles('.github/scripts/build-macos-wxwidgets.sh') }}-${{ env.MACOS_VERSION }}
@@ -272,11 +272,11 @@ jobs:
272272
RELEASE_LIBBEAM: yes
273273
TARGET_ARCH: aarch64-apple-ios
274274
name: Build Erlang/OTP (iOS)
275-
runs-on: macos-15
275+
runs-on: macos-26
276276
needs: pack
277277
if: needs.pack.outputs.build-c-code == 'true'
278278
steps:
279-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
279+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
280280
- name: Download source archive
281281
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
282282
with:
@@ -313,7 +313,7 @@ jobs:
313313
needs: pack
314314
if: needs.pack.outputs.build-c-code == 'true'
315315
steps:
316-
- uses: Vampire/setup-wsl@6a8db447be7ed35f2f499c02c6e60ff77ef11278 # v6.0.0
316+
- uses: Vampire/setup-wsl@d1da7f2c0322a5ee4f24975344f67fc0f5baf364 # v7.0.0
317317
with:
318318
distribution: Ubuntu-18.04
319319

@@ -332,7 +332,7 @@ jobs:
332332
IF EXIST "c:\\Program Files\\OpenSSL-Win64" (move "c:\\Program Files\\OpenSSL-Win64" "c:\\OpenSSL-Win64") ELSE (move "c:\\Program Files\\OpenSSL" "c:\\OpenSSL-Win64")
333333
334334
- name: Cache wxWidgets
335-
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
335+
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
336336
with:
337337
path: wxWidgets
338338
key: wxWidgets-${{ env.WXWIDGETS_VERSION }}-${{ runner.os }}
@@ -421,7 +421,7 @@ jobs:
421421
fail-fast: false
422422

423423
steps:
424-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
424+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
425425
- uses: ./.github/actions/build-base-image
426426
with:
427427
BASE_BRANCH: ${{ env.BASE_BRANCH }}
@@ -500,7 +500,7 @@ jobs:
500500
outputs:
501501
vendor-files: ${{ steps.vendor-files.outputs.MODIFIED_FILES != '0' }}
502502
steps:
503-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
503+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
504504
with:
505505
fetch-depth: 0
506506
- name: Get modified vendor files
@@ -539,7 +539,7 @@ jobs:
539539
fail-fast: false
540540

541541
steps:
542-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
542+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
543543
- uses: ./.github/actions/build-base-image
544544
with:
545545
BASE_BRANCH: ${{ env.BASE_BRANCH }}
@@ -580,7 +580,7 @@ jobs:
580580
runs-on: ubuntu-latest
581581
needs: pack
582582
steps:
583-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
583+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
584584
- uses: ./.github/actions/build-base-image
585585
with:
586586
BASE_BRANCH: ${{ env.BASE_BRANCH }}
@@ -634,7 +634,7 @@ jobs:
634634
runs-on: ubuntu-latest
635635
needs: pack
636636
steps:
637-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
637+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
638638
- uses: ./.github/actions/build-base-image
639639
with:
640640
BASE_BRANCH: ${{ env.BASE_BRANCH }}
@@ -661,7 +661,7 @@ jobs:
661661
# type: ["os_mon","sasl"]
662662
fail-fast: false
663663
steps:
664-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
664+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
665665
- uses: ./.github/actions/build-base-image
666666
with:
667667
BASE_BRANCH: ${{ env.BASE_BRANCH }}
@@ -714,7 +714,7 @@ jobs:
714714
if: ${{ !cancelled() && needs.pack.result == 'success' }} # Run even if the need has failed
715715
needs: [pack, test] # it makes no sense to run this if there is no build image (pack job)
716716
steps:
717-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
717+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
718718
- uses: ./.github/actions/build-base-image
719719
with:
720720
BASE_BRANCH: ${{ env.BASE_BRANCH }}
@@ -791,13 +791,13 @@ jobs:
791791
- name: Use HTTPS instead of SSH for Git cloning
792792
run: git config --global url.https://github.com/.insteadOf ssh://git@github.com/
793793

794-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
794+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
795795
- uses: ./.github/actions/build-base-image
796796
with:
797797
BASE_BRANCH: ${{ env.BASE_BRANCH }}
798798

799799
- name: Fetch Default ORT Config
800-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
800+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
801801
with:
802802
repository: oss-review-toolkit/ort-config
803803
ref: "d2978deb230beae095bb6cfec074b94f1a74fd34"
@@ -964,7 +964,7 @@ jobs:
964964
contents: write
965965
id-token: write
966966
steps:
967-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
967+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
968968
- uses: ./.github/actions/build-base-image
969969
with:
970970
BASE_BRANCH: ${{ env.BASE_BRANCH }}
@@ -1015,7 +1015,7 @@ jobs:
10151015
echo "tag=${TAG}" >> $GITHUB_OUTPUT
10161016
echo "vsn=${VSN}" >> $GITHUB_OUTPUT
10171017
1018-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1018+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
10191019

10201020
## Publish the pre-built archive and docs
10211021
- name: Download source archive
@@ -1057,7 +1057,7 @@ jobs:
10571057

10581058
- name: Attest Distribution Assets with SBoM
10591059
id: attest-sbom
1060-
uses: actions/attest-sbom@4651f806c01d8637787e274ac3bdf724ef169f34 # v3
1060+
uses: actions/attest-sbom@c604332985a26aa8cf1bdc465b92731239ec6b9e # v4
10611061
with:
10621062
subject-path: |
10631063
artifacts/*.tar.gz
@@ -1085,7 +1085,7 @@ jobs:
10851085
path: "attestations/*.sigstore"
10861086

10871087
- name: Upload pre-built and doc tar archives
1088-
uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0
1088+
uses: softprops/action-gh-release@3d0d9888cb7fd7b750713d6e236d1fcb99157228 # v3.0.2
10891089
with:
10901090
name: OTP ${{ steps.tag.outputs.vsn }}
10911091
files: |

.github/workflows/openvex-sync.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
contents: write
4141
pull-requests: write
4242
steps:
43-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
43+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4444
with:
4545
ref: 'master' # '' = default branch
4646

@@ -52,7 +52,7 @@ jobs:
5252
with:
5353
vexctl-release: '0.3.0'
5454

55-
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
55+
- uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
5656
id: app-token
5757
with:
5858
# required

.github/workflows/ossf-compiler-flags-scanner.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
# Only need to read contents
4646
contents: read
4747
steps:
48-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
48+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4949
- name: Create initial pre-release tar
5050
run: .github/scripts/init-pre-release.sh otp_src.tar.gz
5151
- uses: ./.github/actions/build-base-image

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
outputs:
4040
versions: ${{ steps.get-versions.outputs.versions }}
4141
steps:
42-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
42+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4343
- id: get-versions
4444
name: Fetch latest 3 OTP versions
4545
run: |

.github/workflows/pr-comment.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
outputs:
4545
result: ${{ steps.pr-number.outputs.result }}
4646
steps:
47-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
47+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4848
- uses: erlef/setup-beam@e6d7c94229049569db56a7ad5a540c051a010af9 # v1.20.4
4949
with:
5050
otp-version: '27'
@@ -64,9 +64,9 @@ jobs:
6464
pull-requests: write
6565
if: github.event.action == 'requested' && needs.pr-number.outputs.result != ''
6666
steps:
67-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
67+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
6868
## We create an initial comment with some useful help to the user
69-
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
69+
- uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
7070
with:
7171
script: |
7272
const script = require('./.github/scripts/pr-comment.js');
@@ -87,7 +87,7 @@ jobs:
8787
needs.pr-number.outputs.result != '' &&
8888
github.event.workflow_run.conclusion != 'skipped'
8989
steps:
90-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
90+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
9191
- name: Download and Extract Artifacts
9292
id: extract
9393
env:
@@ -124,7 +124,7 @@ jobs:
124124

125125
## Append some useful links and tips to the test results posted by
126126
## Publish CT Test Results
127-
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
127+
- uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
128128
if: always()
129129
with:
130130
script: |

.github/workflows/renovate-vendored-deps.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
contains(github.event.pull_request.title, 'update dependency') &&
3838
github.actor == 'renovate-bot'
3939
steps:
40-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
40+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4141
with:
4242
ref: ${{ github.event.pull_request.head.ref }}
4343
fetch-depth: 0

0 commit comments

Comments
 (0)