Skip to content

Commit a09413d

Browse files
Update GH Actions
1 parent 9b7fd8d commit a09413d

16 files changed

Lines changed: 89 additions & 89 deletions

.github/workflows/aarch64.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ jobs:
1414
if: github.repository == 'crystal-lang/crystal'
1515
steps:
1616
- name: Download Crystal source
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v6
1818
- name: Build Crystal
1919
uses: docker://crystallang/crystal:1.13.2-alpine-84codes-build
2020
with:
2121
args: make crystal
2222
- name: Upload Crystal executable
23-
uses: actions/upload-artifact@v4
23+
uses: actions/upload-artifact@v5
2424
with:
2525
name: crystal-aarch64-musl
2626
path: |
@@ -32,9 +32,9 @@ jobs:
3232
if: github.repository == 'crystal-lang/crystal'
3333
steps:
3434
- name: Download Crystal source
35-
uses: actions/checkout@v4
35+
uses: actions/checkout@v6
3636
- name: Download Crystal executable
37-
uses: actions/download-artifact@v4
37+
uses: actions/download-artifact@v6
3838
with:
3939
name: crystal-aarch64-musl
4040
- name: Mark downloaded compiler as executable
@@ -49,9 +49,9 @@ jobs:
4949
if: github.repository == 'crystal-lang/crystal'
5050
steps:
5151
- name: Download Crystal source
52-
uses: actions/checkout@v4
52+
uses: actions/checkout@v6
5353
- name: Download Crystal executable
54-
uses: actions/download-artifact@v4
54+
uses: actions/download-artifact@v6
5555
with:
5656
name: crystal-aarch64-musl
5757
- name: Mark downloaded compiler as executable
@@ -65,13 +65,13 @@ jobs:
6565
if: github.repository == 'crystal-lang/crystal'
6666
steps:
6767
- name: Download Crystal source
68-
uses: actions/checkout@v4
68+
uses: actions/checkout@v6
6969
- name: Build Crystal
7070
uses: docker://crystallang/crystal:1.13.2-ubuntu-84codes-build
7171
with:
7272
args: make crystal
7373
- name: Upload Crystal executable
74-
uses: actions/upload-artifact@v4
74+
uses: actions/upload-artifact@v5
7575
with:
7676
name: crystal-aarch64-gnu
7777
path: |
@@ -83,9 +83,9 @@ jobs:
8383
if: github.repository == 'crystal-lang/crystal'
8484
steps:
8585
- name: Download Crystal source
86-
uses: actions/checkout@v4
86+
uses: actions/checkout@v6
8787
- name: Download Crystal executable
88-
uses: actions/download-artifact@v4
88+
uses: actions/download-artifact@v6
8989
with:
9090
name: crystal-aarch64-gnu
9191
- name: Mark downloaded compiler as executable
@@ -100,9 +100,9 @@ jobs:
100100
if: github.repository == 'crystal-lang/crystal'
101101
steps:
102102
- name: Download Crystal source
103-
uses: actions/checkout@v4
103+
uses: actions/checkout@v6
104104
- name: Download Crystal executable
105-
uses: actions/download-artifact@v4
105+
uses: actions/download-artifact@v6
106106
with:
107107
name: crystal-aarch64-gnu
108108
- name: Mark downloaded compiler as executable

.github/workflows/backport.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
if: github.repository_owner == 'crystal-lang' && github.event.pull_request.merged == true && (github.event_name != 'labeled' || startsWith('backport', github.event.label.name))
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v6
2323
with:
2424
ref: ${{ github.event.pull_request.head.sha }}
2525
token: ${{ secrets.BACKPORT_ACTION_GITHUB_PAT }}
2626

2727
- name: Create backport PR
28-
uses: korthout/backport-action@be567af183754f6a5d831ae90f648954763f17f5 # v3.1.0
28+
uses: korthout/backport-action@d07416681cab29bf2661702f925f020aaa962997 # v3.4.1
2929
with:
3030
github_token: ${{ secrets.BACKPORT_ACTION_GITHUB_PAT }}
3131
# Config README: https://github.com/korthout/backport-action#backport-action

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Download Crystal source
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@v6
2323

2424
- name: Prepare System
2525
run: bin/ci prepare_system
@@ -34,7 +34,7 @@ jobs:
3434
run: echo "$GITHUB_SHA" > ./docs/revision.txt
3535

3636
- name: Configure AWS Credentials
37-
uses: aws-actions/configure-aws-credentials@v4
37+
uses: aws-actions/configure-aws-credentials@v5
3838
with:
3939
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
4040
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

.github/workflows/forward-compatibility.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
flags: "USE_PCRE1=true"
5353
steps:
5454
- name: Download Crystal source
55-
uses: actions/checkout@v4
55+
uses: actions/checkout@v6
5656

5757
- name: Prepare System
5858
run: bin/ci prepare_system

.github/workflows/interpreter.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
image: crystallang/crystal:1.15.1-build
1919
name: "Test Interpreter"
2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v6
2222

2323
- name: Test interpreter_spec
2424
run: make interpreter_spec junit_output=.junit/interpreter_spec.xml
@@ -29,13 +29,13 @@ jobs:
2929
image: crystallang/crystal:1.15.1-build
3030
name: Build interpreter
3131
steps:
32-
- uses: actions/checkout@v4
32+
- uses: actions/checkout@v6
3333

3434
- name: Build compiler
3535
run: make interpreter=1 release=1
3636

3737
- name: Upload compiler artifact
38-
uses: actions/upload-artifact@v4
38+
uses: actions/upload-artifact@v5
3939
with:
4040
name: crystal-interpreter
4141
path: |
@@ -51,10 +51,10 @@ jobs:
5151
part: [0, 1, 2, 3]
5252
name: "Test std_spec with interpreter (${{ matrix.part }})"
5353
steps:
54-
- uses: actions/checkout@v4
54+
- uses: actions/checkout@v6
5555

5656
- name: Download compiler artifact
57-
uses: actions/download-artifact@v4
57+
uses: actions/download-artifact@v6
5858
with:
5959
name: crystal-interpreter
6060
path: .build/
@@ -72,10 +72,10 @@ jobs:
7272
image: crystallang/crystal:1.15.1-build
7373
name: "Test primitives_spec with interpreter"
7474
steps:
75-
- uses: actions/checkout@v4
75+
- uses: actions/checkout@v6
7676

7777
- name: Download compiler artifact
78-
uses: actions/download-artifact@v4
78+
uses: actions/download-artifact@v6
7979
with:
8080
name: crystal-interpreter
8181
path: .build/

.github/workflows/lint-actionlint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ jobs:
1111
actionlint:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v6
1515
- name: Check workflow files
1616
uses: docker://rhysd/actionlint:latest

.github/workflows/linux.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- crystal_bootstrap_version: 1.15.1 # LATEST RELEASE
3535
steps:
3636
- name: Download Crystal source
37-
uses: actions/checkout@v4
37+
uses: actions/checkout@v6
3838

3939
- name: Prepare System
4040
run: bin/ci prepare_system
@@ -52,7 +52,7 @@ jobs:
5252
runs-on: ubuntu-latest
5353
steps:
5454
- name: Download Crystal source
55-
uses: actions/checkout@v4
55+
uses: actions/checkout@v6
5656

5757
- name: Prepare System
5858
run: bin/ci prepare_system
@@ -70,7 +70,7 @@ jobs:
7070
runs-on: ubuntu-latest
7171
steps:
7272
- name: Download Crystal source
73-
uses: actions/checkout@v4
73+
uses: actions/checkout@v6
7474

7575
- name: Prepare System
7676
run: bin/ci prepare_system
@@ -91,7 +91,7 @@ jobs:
9191
runs-on: ubuntu-latest
9292
steps:
9393
- name: Download Crystal source
94-
uses: actions/checkout@v4
94+
uses: actions/checkout@v6
9595

9696
- name: Prepare System
9797
run: bin/ci prepare_system

.github/workflows/llvm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
name: "LLVM ${{ matrix.llvm_version }}"
4545
steps:
4646
- name: Checkout Crystal source
47-
uses: actions/checkout@v4
47+
uses: actions/checkout@v6
4848

4949
- name: Install LLVM ${{ matrix.llvm_version }}
5050
run: |

.github/workflows/macos.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ jobs:
2525
arch: aarch64-darwin
2626
steps:
2727
- name: Download Crystal source
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@v6
2929

30-
- uses: cachix/install-nix-action@v30
30+
- uses: cachix/install-nix-action@v31
3131
with:
3232
extra_nix_config: |
3333
experimental-features = nix-command
3434
35-
- uses: cachix/cachix-action@v15
35+
- uses: cachix/cachix-action@v16
3636
with:
3737
name: crystal-ci
3838
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'

.github/workflows/mingw-w64.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ env:
1313

1414
jobs:
1515
x86_64-mingw-w64-build:
16-
runs-on: windows-2022
16+
runs-on: windows-2025
1717
steps:
1818
- name: Setup MSYS2
1919
id: msys2
20-
uses: msys2/setup-msys2@d44ca8e88d8b43d56cf5670f91747359d5537f97 # v2.26.0
20+
uses: msys2/setup-msys2@fb197b72ce45fb24f17bf3f807a388985654d1f2 # v2.29.0
2121
with:
2222
msystem: UCRT64
2323
update: true
@@ -33,7 +33,7 @@ jobs:
3333
git config --global core.autocrlf false
3434
3535
- name: Download Crystal source
36-
uses: actions/checkout@v4
36+
uses: actions/checkout@v6
3737

3838
- name: Build Crystal
3939
shell: msys2 {0}
@@ -44,7 +44,7 @@ jobs:
4444
run: make install install_dlls deref_symlinks=1 PREFIX="$(pwd)/crystal"
4545

4646
- name: Download shards release
47-
uses: actions/checkout@v4
47+
uses: actions/checkout@v6
4848
with:
4949
repository: crystal-lang/shards
5050
ref: v0.19.1
@@ -64,17 +64,17 @@ jobs:
6464
ldd bin/shards.exe | grep -iv ' => /c/windows/system32' | sed 's/.* => //; s/ (.*//' | xargs -t -i /usr/bin/install -m 0755 '{}' "$(pwd)/../crystal/bin/"
6565
6666
- name: Upload Crystal executable
67-
uses: actions/upload-artifact@v4
67+
uses: actions/upload-artifact@v5
6868
with:
6969
name: x86_64-mingw-w64-crystal
7070
path: crystal
7171

7272
x86_64-mingw-w64-test-stdlib:
73-
runs-on: windows-2022
73+
runs-on: windows-2025
7474
steps:
7575
- name: Setup MSYS2
7676
id: msys2
77-
uses: msys2/setup-msys2@d44ca8e88d8b43d56cf5670f91747359d5537f97 # v2.26.0
77+
uses: msys2/setup-msys2@fb197b72ce45fb24f17bf3f807a388985654d1f2 # v2.29.0
7878
with:
7979
msystem: UCRT64
8080
update: true
@@ -90,7 +90,7 @@ jobs:
9090
git config --global core.autocrlf false
9191
9292
- name: Download Crystal source
93-
uses: actions/checkout@v4
93+
uses: actions/checkout@v6
9494

9595
- name: Run stdlib specs
9696
shell: msys2 {0}
@@ -99,11 +99,11 @@ jobs:
9999
make std_spec
100100
101101
x86_64-mingw-w64-test-compiler:
102-
runs-on: windows-2022
102+
runs-on: windows-2025
103103
steps:
104104
- name: Setup MSYS2
105105
id: msys2
106-
uses: msys2/setup-msys2@d44ca8e88d8b43d56cf5670f91747359d5537f97 # v2.26.0
106+
uses: msys2/setup-msys2@fb197b72ce45fb24f17bf3f807a388985654d1f2 # v2.29.0
107107
with:
108108
msystem: UCRT64
109109
update: true
@@ -119,7 +119,7 @@ jobs:
119119
git config --global core.autocrlf false
120120
121121
- name: Download Crystal source
122-
uses: actions/checkout@v4
122+
uses: actions/checkout@v6
123123

124124
- name: Run compiler specs
125125
shell: msys2 {0}

0 commit comments

Comments
 (0)