Skip to content

Commit f6e35db

Browse files
Update GH Actions
1 parent b7a58ca commit f6e35db

8 files changed

Lines changed: 26 additions & 26 deletions

File tree

.github/workflows/aarch64.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Download Crystal source
3333
uses: actions/checkout@v4
3434
- name: Download Crystal executable
35-
uses: actions/download-artifact@v4
35+
uses: actions/download-artifact@v5
3636
with:
3737
name: crystal-aarch64-musl
3838
- name: Mark downloaded compiler as executable
@@ -49,7 +49,7 @@ jobs:
4949
- name: Download Crystal source
5050
uses: actions/checkout@v4
5151
- name: Download Crystal executable
52-
uses: actions/download-artifact@v4
52+
uses: actions/download-artifact@v5
5353
with:
5454
name: crystal-aarch64-musl
5555
- name: Mark downloaded compiler as executable
@@ -83,7 +83,7 @@ jobs:
8383
- name: Download Crystal source
8484
uses: actions/checkout@v4
8585
- name: Download Crystal executable
86-
uses: actions/download-artifact@v4
86+
uses: actions/download-artifact@v5
8787
with:
8888
name: crystal-aarch64-gnu
8989
- name: Mark downloaded compiler as executable
@@ -100,7 +100,7 @@ jobs:
100100
- name: Download Crystal source
101101
uses: actions/checkout@v4
102102
- name: Download Crystal executable
103-
uses: actions/download-artifact@v4
103+
uses: actions/download-artifact@v5
104104
with:
105105
name: crystal-aarch64-gnu
106106
- name: Mark downloaded compiler as executable

.github/workflows/crystal.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
image: crystallang/crystal
1616

1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919
- name: Install dependencies
2020
run: shards install
2121
- name: Run tests

.github/workflows/interpreter.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env:
1111

1212
jobs:
1313
test-interpreter_spec:
14-
runs-on: ubuntu-22.04
14+
runs-on: ubuntu-24.04
1515
container:
1616
image: crystallang/crystal:1.11.2-build
1717
name: "Test Interpreter"
@@ -22,7 +22,7 @@ jobs:
2222
run: make interpreter_spec junit_output=.junit/interpreter_spec.xml
2323

2424
build-interpreter:
25-
runs-on: ubuntu-22.04
25+
runs-on: ubuntu-24.04
2626
container:
2727
image: crystallang/crystal:1.11.2-build
2828
name: Build interpreter
@@ -41,7 +41,7 @@ jobs:
4141
4242
test-interpreter-std_spec:
4343
needs: build-interpreter
44-
runs-on: ubuntu-22.04
44+
runs-on: ubuntu-24.04
4545
container:
4646
image: crystallang/crystal:1.11.2-build
4747
strategy:
@@ -52,7 +52,7 @@ jobs:
5252
- uses: actions/checkout@v4
5353

5454
- name: Download compiler artifact
55-
uses: actions/download-artifact@v4
55+
uses: actions/download-artifact@v5
5656
with:
5757
name: crystal-interpreter
5858
path: .build/

.github/workflows/llvm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env:
1111

1212
jobs:
1313
llvm_test:
14-
runs-on: ubuntu-22.04
14+
runs-on: ubuntu-24.04
1515
strategy:
1616
fail-fast: false
1717
matrix:

.github/workflows/macos.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ env:
1212

1313
jobs:
1414
x86_64-darwin-test:
15-
runs-on: macos-13
15+
runs-on: macos-14
1616
steps:
1717
- name: Download Crystal source
1818
uses: actions/checkout@v4
1919

20-
- uses: cachix/install-nix-action@v26
20+
- uses: cachix/install-nix-action@v31
2121
with:
2222
install_url: https://releases.nixos.org/nix/nix-2.9.2/install
2323
extra_nix_config: |
2424
experimental-features = nix-command
25-
- uses: cachix/cachix-action@v14
25+
- uses: cachix/cachix-action@v16
2626
with:
2727
name: crystal-ci
2828
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'

.github/workflows/msbuild.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ jobs:
2828
runs-on: windows-latest
2929

3030
steps:
31-
- uses: actions/checkout@v3
31+
- uses: actions/checkout@v4
3232

3333
- name: Add MSBuild to PATH
34-
uses: microsoft/setup-msbuild@v1.0.2
34+
uses: microsoft/setup-msbuild@v2.0.0
3535

3636
- name: Restore NuGet packages
3737
working-directory: ${{env.GITHUB_WORKSPACE}}

.github/workflows/win.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env:
1111

1212
jobs:
1313
x86_64-windows-libs:
14-
runs-on: windows-2022
14+
runs-on: windows-2025
1515
steps:
1616
- name: Disable CRLF line ending substitution
1717
run: |
@@ -77,13 +77,13 @@ jobs:
7777
key: win-openssl-libs-3.1.0-${{ hashFiles('etc/win-ci/build-openssl.ps1') }}-msvc
7878
- name: Set up NASM
7979
if: steps.cache-openssl.outputs.cache-hit != 'true'
80-
uses: ilammy/setup-nasm@13cbeb366c45c4379d3478cdcbadd8295feb5028 # v1.5.1
80+
uses: ilammy/setup-nasm@72793074d3c8cdda771dba85f6deafe00623038b # v1.5.2
8181
- name: Build OpenSSL
8282
if: steps.cache-openssl.outputs.cache-hit != 'true'
8383
run: .\etc\win-ci\build-openssl.ps1 -BuildTree deps\openssl -Version 3.1.0
8484

8585
x86_64-windows-dlls:
86-
runs-on: windows-2022
86+
runs-on: windows-2025
8787
steps:
8888
- name: Disable CRLF line ending substitution
8989
run: |
@@ -159,13 +159,13 @@ jobs:
159159
key: win-openssl-dlls-3.1.0-${{ hashFiles('etc/win-ci/build-openssl.ps1') }}-msvc
160160
- name: Set up NASM
161161
if: steps.cache-openssl-dlls.outputs.cache-hit != 'true'
162-
uses: ilammy/setup-nasm@13cbeb366c45c4379d3478cdcbadd8295feb5028 # v1.5.1
162+
uses: ilammy/setup-nasm@72793074d3c8cdda771dba85f6deafe00623038b # v1.5.2
163163
- name: Build OpenSSL
164164
if: steps.cache-openssl-dlls.outputs.cache-hit != 'true'
165165
run: .\etc\win-ci\build-openssl.ps1 -BuildTree deps\openssl -Version 3.1.0 -Dynamic
166166

167167
x86_64-windows-llvm-libs:
168-
runs-on: windows-2022
168+
runs-on: windows-2025
169169
steps:
170170
- name: Enable Developer Command Prompt
171171
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
@@ -188,7 +188,7 @@ jobs:
188188
cmake "-DCMAKE_INSTALL_PREFIX=$(pwd)\..\llvm" -P cmake_install.cmake
189189
190190
x86_64-windows-llvm-dlls:
191-
runs-on: windows-2022
191+
runs-on: windows-2025
192192
steps:
193193
- name: Disable CRLF line ending substitution
194194
run: |
@@ -221,7 +221,7 @@ jobs:
221221
llvm_version: "18.1.1"
222222

223223
x86_64-windows-test:
224-
runs-on: windows-2022
224+
runs-on: windows-2025
225225
needs: [x86_64-windows]
226226
steps:
227227
- name: Disable CRLF line ending substitution
@@ -235,7 +235,7 @@ jobs:
235235
uses: actions/checkout@v4
236236

237237
- name: Download Crystal executable
238-
uses: actions/download-artifact@v4
238+
uses: actions/download-artifact@v5
239239
with:
240240
name: crystal
241241
path: build
@@ -275,7 +275,7 @@ jobs:
275275

276276
x86_64-windows-installer:
277277
if: github.repository_owner == 'crystal-lang' && (startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/heads/ci/'))
278-
runs-on: windows-2022
278+
runs-on: windows-2025
279279
needs: [x86_64-windows-release]
280280
steps:
281281
- name: Disable CRLF line ending substitution
@@ -286,7 +286,7 @@ jobs:
286286
uses: actions/checkout@v4
287287

288288
- name: Download Crystal executable
289-
uses: actions/download-artifact@v4
289+
uses: actions/download-artifact@v5
290290
with:
291291
name: crystal-release
292292
path: etc/win-ci/portable

.github/workflows/win_build_portable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212

1313
jobs:
1414
build:
15-
runs-on: windows-2022
15+
runs-on: windows-2025
1616
steps:
1717
- name: Disable CRLF line ending substitution
1818
run: |

0 commit comments

Comments
 (0)