Skip to content

Commit fbb01d4

Browse files
Update GH Actions
1 parent 675c68c commit fbb01d4

13 files changed

Lines changed: 75 additions & 75 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@v5
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@v5
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@v5
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@v5
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@v5
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@v5
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/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@v5
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/interpreter.yml

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

1414
jobs:
1515
test-interpreter_spec:
16-
runs-on: ubuntu-22.04
16+
runs-on: ubuntu-24.04
1717
container:
1818
image: crystallang/crystal:1.14.0-build
1919
name: "Test Interpreter"
2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v5
2222

2323
- name: Test interpreter_spec
2424
run: make interpreter_spec junit_output=.junit/interpreter_spec.xml
2525

2626
build-interpreter:
27-
runs-on: ubuntu-22.04
27+
runs-on: ubuntu-24.04
2828
container:
2929
image: crystallang/crystal:1.14.0-build
3030
name: Build interpreter
3131
steps:
32-
- uses: actions/checkout@v4
32+
- uses: actions/checkout@v5
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: |
4242
.build/crystal
4343
4444
test-interpreter-std_spec:
4545
needs: build-interpreter
46-
runs-on: ubuntu-22.04
46+
runs-on: ubuntu-24.04
4747
container:
4848
image: crystallang/crystal:1.14.0-build
4949
strategy:
5050
matrix:
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@v5
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/
@@ -67,15 +67,15 @@ jobs:
6767

6868
test-interpreter-primitives_spec:
6969
needs: build-interpreter
70-
runs-on: ubuntu-22.04
70+
runs-on: ubuntu-24.04
7171
container:
7272
image: crystallang/crystal:1.14.0-build
7373
name: "Test primitives_spec with interpreter"
7474
steps:
75-
- uses: actions/checkout@v4
75+
- uses: actions/checkout@v5
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/linux.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
flags: "USE_PCRE1=true"
4242
steps:
4343
- name: Download Crystal source
44-
uses: actions/checkout@v4
44+
uses: actions/checkout@v5
4545

4646
- name: Prepare System
4747
run: bin/ci prepare_system
@@ -59,7 +59,7 @@ jobs:
5959
runs-on: ubuntu-latest
6060
steps:
6161
- name: Download Crystal source
62-
uses: actions/checkout@v4
62+
uses: actions/checkout@v5
6363

6464
- name: Prepare System
6565
run: bin/ci prepare_system
@@ -77,7 +77,7 @@ jobs:
7777
runs-on: ubuntu-latest
7878
steps:
7979
- name: Download Crystal source
80-
uses: actions/checkout@v4
80+
uses: actions/checkout@v5
8181

8282
- name: Prepare System
8383
run: bin/ci prepare_system
@@ -98,7 +98,7 @@ jobs:
9898
runs-on: ubuntu-latest
9999
steps:
100100
- name: Download Crystal source
101-
uses: actions/checkout@v4
101+
uses: actions/checkout@v5
102102

103103
- name: Prepare System
104104
run: bin/ci prepare_system

.github/workflows/llvm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
name: "LLVM ${{ matrix.llvm_version }}"
2929
steps:
3030
- name: Checkout Crystal source
31-
uses: actions/checkout@v4
31+
uses: actions/checkout@v5
3232

3333
- name: Install LLVM ${{ matrix.llvm_version }}
3434
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@v5
2929

30-
- uses: cachix/install-nix-action@v27
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: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-24.04
1717
steps:
1818
- name: Download Crystal source
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@v5
2020

2121
- name: Install LLVM 18
2222
run: |
@@ -34,24 +34,24 @@ jobs:
3434
run: make && make -B target=x86_64-windows-gnu release=1 interpreter=1
3535

3636
- name: Upload crystal.obj
37-
uses: actions/upload-artifact@v4
37+
uses: actions/upload-artifact@v5
3838
with:
3939
name: x86_64-mingw-w64-crystal-obj
4040
path: .build/crystal.obj
4141

4242
- name: Upload standard library
43-
uses: actions/upload-artifact@v4
43+
uses: actions/upload-artifact@v5
4444
with:
4545
name: x86_64-mingw-w64-crystal-stdlib
4646
path: src
4747

4848
x86_64-mingw-w64-link:
49-
runs-on: windows-2022
49+
runs-on: windows-2025
5050
needs: [x86_64-mingw-w64-cross-compile]
5151
steps:
5252
- name: Setup MSYS2
5353
id: msys2
54-
uses: msys2/setup-msys2@ddf331adaebd714795f1042345e6ca57bd66cea8 # v2.24.1
54+
uses: msys2/setup-msys2@fb197b72ce45fb24f17bf3f807a388985654d1f2 # v2.29.0
5555
with:
5656
msystem: UCRT64
5757
update: true
@@ -66,12 +66,12 @@ jobs:
6666
mingw-w64-ucrt-x86_64-libffi
6767
6868
- name: Download crystal.obj
69-
uses: actions/download-artifact@v4
69+
uses: actions/download-artifact@v6
7070
with:
7171
name: x86_64-mingw-w64-crystal-obj
7272

7373
- name: Download standard library
74-
uses: actions/download-artifact@v4
74+
uses: actions/download-artifact@v6
7575
with:
7676
name: x86_64-mingw-w64-crystal-stdlib
7777
path: share/crystal/src
@@ -87,20 +87,20 @@ jobs:
8787
ldd bin/crystal.exe | grep -iv /c/windows/system32 | sed 's/.* => //; s/ (.*//' | xargs -t -i cp '{}' bin/
8888
8989
- name: Upload Crystal
90-
uses: actions/upload-artifact@v4
90+
uses: actions/upload-artifact@v5
9191
with:
9292
name: x86_64-mingw-w64-crystal
9393
path: |
9494
bin/
9595
share/
9696
9797
x86_64-mingw-w64-test:
98-
runs-on: windows-2022
98+
runs-on: windows-2025
9999
needs: [x86_64-mingw-w64-link]
100100
steps:
101101
- name: Setup MSYS2
102102
id: msys2
103-
uses: msys2/setup-msys2@ddf331adaebd714795f1042345e6ca57bd66cea8 # v2.24.1
103+
uses: msys2/setup-msys2@fb197b72ce45fb24f17bf3f807a388985654d1f2 # v2.29.0
104104
with:
105105
msystem: UCRT64
106106
update: true
@@ -125,10 +125,10 @@ jobs:
125125
git config --global core.autocrlf false
126126
127127
- name: Download Crystal source
128-
uses: actions/checkout@v4
128+
uses: actions/checkout@v5
129129

130130
- name: Download Crystal executable
131-
uses: actions/download-artifact@v4
131+
uses: actions/download-artifact@v6
132132
with:
133133
name: x86_64-mingw-w64-crystal
134134
path: crystal

.github/workflows/openssl.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
repository: http://dl-cdn.alpinelinux.org/alpine/v3.20/community
3232
steps:
3333
- name: Download Crystal source
34-
uses: actions/checkout@v4
34+
uses: actions/checkout@v5
3535
- name: Uninstall openssl and conflicts
3636
run: apk del openssl-dev openssl-libs-static libxml2-static
3737
- name: Install ${{ matrix.pkg }}

.github/workflows/regex-engine.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
container: crystallang/crystal:1.14.0-alpine
1616
steps:
1717
- name: Download Crystal source
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5
1919
- name: Remove PCRE2
2020
run: apk del pcre2-dev
2121
- name: Assert using PCRE
@@ -30,7 +30,7 @@ jobs:
3030
container: crystallang/crystal:1.14.0-alpine
3131
steps:
3232
- name: Download Crystal source
33-
uses: actions/checkout@v4
33+
uses: actions/checkout@v5
3434
- name: Assert using PCRE2
3535
run: bin/crystal eval 'abort unless Regex::Engine == Regex::PCRE2'
3636
- name: Assert select PCRE

.github/workflows/smoke.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464

6565
steps:
6666
- name: Download Crystal source
67-
uses: actions/checkout@v4
67+
uses: actions/checkout@v5
6868

6969
- name: Build fresh compiler
7070
run: bin/ci with_build_env make

0 commit comments

Comments
 (0)