From e8db317940ac0415e76e65d1bcef33b634f13249 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 30 Apr 2026 04:01:49 +0000 Subject: [PATCH] Update GH Actions --- .github/workflows/aarch64.yml | 24 ++++++------ .github/workflows/crystal.yml | 2 +- .github/workflows/interpreter.yml | 16 ++++---- .github/workflows/linux.yml | 12 +++--- .github/workflows/llvm.yml | 6 +-- .github/workflows/macos.yml | 8 ++-- .github/workflows/msbuild.yml | 4 +- .github/workflows/openssl.yml | 6 +-- .github/workflows/regex-engine.yml | 4 +- .github/workflows/smoke.yml | 2 +- .github/workflows/wasm32.yml | 4 +- .github/workflows/win.yml | 48 ++++++++++++------------ .github/workflows/win_build_portable.yml | 20 +++++----- 13 files changed, 78 insertions(+), 78 deletions(-) diff --git a/.github/workflows/aarch64.yml b/.github/workflows/aarch64.yml index da252904fa37..fac520728488 100644 --- a/.github/workflows/aarch64.yml +++ b/.github/workflows/aarch64.yml @@ -12,13 +12,13 @@ jobs: if: github.repository == 'crystal-lang/crystal' steps: - name: Download Crystal source - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Build Crystal uses: docker://jhass/crystal:1.0.0-alpine-build with: args: make crystal - name: Upload Crystal executable - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: crystal-aarch64-musl path: | @@ -30,9 +30,9 @@ jobs: if: github.repository == 'crystal-lang/crystal' steps: - name: Download Crystal source - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Download Crystal executable - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: crystal-aarch64-musl - name: Mark downloaded compiler as executable @@ -47,9 +47,9 @@ jobs: if: github.repository == 'crystal-lang/crystal' steps: - name: Download Crystal source - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Download Crystal executable - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: crystal-aarch64-musl - name: Mark downloaded compiler as executable @@ -63,13 +63,13 @@ jobs: if: github.repository == 'crystal-lang/crystal' steps: - name: Download Crystal source - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Build Crystal uses: docker://jhass/crystal:1.0.0-build with: args: make crystal - name: Upload Crystal executable - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: crystal-aarch64-gnu path: | @@ -81,9 +81,9 @@ jobs: if: github.repository == 'crystal-lang/crystal' steps: - name: Download Crystal source - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Download Crystal executable - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: crystal-aarch64-gnu - name: Mark downloaded compiler as executable @@ -98,9 +98,9 @@ jobs: if: github.repository == 'crystal-lang/crystal' steps: - name: Download Crystal source - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Download Crystal executable - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: crystal-aarch64-gnu - name: Mark downloaded compiler as executable diff --git a/.github/workflows/crystal.yml b/.github/workflows/crystal.yml index 357938101e90..43275beeff7e 100644 --- a/.github/workflows/crystal.yml +++ b/.github/workflows/crystal.yml @@ -15,7 +15,7 @@ jobs: image: crystallang/crystal steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 - name: Install dependencies run: shards install - name: Run tests diff --git a/.github/workflows/interpreter.yml b/.github/workflows/interpreter.yml index 1788f74351d9..8233afc0bac0 100644 --- a/.github/workflows/interpreter.yml +++ b/.github/workflows/interpreter.yml @@ -11,29 +11,29 @@ env: jobs: test-interpreter_spec: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 container: image: crystallang/crystal:1.11.2-build name: "Test Interpreter" steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Test interpreter_spec run: make interpreter_spec junit_output=.junit/interpreter_spec.xml build-interpreter: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 container: image: crystallang/crystal:1.11.2-build name: Build interpreter steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Build compiler run: make interpreter=1 release=1 - name: Upload compiler artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: crystal-interpreter path: | @@ -41,7 +41,7 @@ jobs: test-interpreter-std_spec: needs: build-interpreter - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 container: image: crystallang/crystal:1.11.2-build strategy: @@ -49,10 +49,10 @@ jobs: part: [0, 1, 2, 3] name: "Test std_spec with interpreter (${{ matrix.part }})" steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Download compiler artifact - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: crystal-interpreter path: .build/ diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 3d85af22e5a3..1e43695616c0 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -39,7 +39,7 @@ jobs: flags: "USE_PCRE1=true" steps: - name: Download Crystal source - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Prepare System run: bin/ci prepare_system @@ -57,7 +57,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download Crystal source - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Prepare System run: bin/ci prepare_system @@ -75,7 +75,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download Crystal source - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Prepare System run: bin/ci prepare_system @@ -96,7 +96,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download Crystal source - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Prepare System run: bin/ci prepare_system @@ -115,7 +115,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download Crystal source - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Prepare System run: bin/ci prepare_system @@ -130,7 +130,7 @@ jobs: run: echo $GITHUB_SHA > ./docs/revision.txt - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v4 + uses: aws-actions/configure-aws-credentials@v6 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} diff --git a/.github/workflows/llvm.yml b/.github/workflows/llvm.yml index 887ede290fe3..0594f3f8c49f 100644 --- a/.github/workflows/llvm.yml +++ b/.github/workflows/llvm.yml @@ -11,7 +11,7 @@ env: jobs: llvm_test: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 strategy: fail-fast: false matrix: @@ -29,11 +29,11 @@ jobs: name: "LLVM ${{ matrix.llvm_version }}" steps: - name: Checkout Crystal source - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Cache LLVM id: cache-llvm - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ./llvm key: llvm-${{ matrix.llvm_version }} diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 7f27b3cc9c14..0ade3aa1d8d9 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -12,17 +12,17 @@ env: jobs: x86_64-darwin-test: - runs-on: macos-13 + runs-on: macos-15 steps: - name: Download Crystal source - uses: actions/checkout@v4 + uses: actions/checkout@v6 - - uses: cachix/install-nix-action@v26 + - uses: cachix/install-nix-action@v31 with: install_url: https://releases.nixos.org/nix/nix-2.9.2/install extra_nix_config: | experimental-features = nix-command - - uses: cachix/cachix-action@v14 + - uses: cachix/cachix-action@v17 with: name: crystal-ci signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml index 4ff5521ad1d0..1119e363b9e3 100644 --- a/.github/workflows/msbuild.yml +++ b/.github/workflows/msbuild.yml @@ -28,10 +28,10 @@ jobs: runs-on: windows-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 - name: Add MSBuild to PATH - uses: microsoft/setup-msbuild@v1.0.2 + uses: microsoft/setup-msbuild@v3 - name: Restore NuGet packages working-directory: ${{env.GITHUB_WORKSPACE}} diff --git a/.github/workflows/openssl.yml b/.github/workflows/openssl.yml index 65766c6325c2..55a41060bd11 100644 --- a/.github/workflows/openssl.yml +++ b/.github/workflows/openssl.yml @@ -13,7 +13,7 @@ jobs: container: crystallang/crystal:1.11.2-alpine steps: - name: Download Crystal source - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Uninstall openssl 1.1 run: apk del openssl-dev - name: Upgrade alpine-keys @@ -30,7 +30,7 @@ jobs: container: crystallang/crystal:1.11.2-alpine steps: - name: Download Crystal source - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Uninstall openssl run: apk del openssl-dev - name: Install openssl 1.1.1 @@ -45,7 +45,7 @@ jobs: container: crystallang/crystal:1.11.2-alpine steps: - name: Download Crystal source - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Uninstall openssl run: apk del openssl-dev openssl-libs-static - name: Upgrade alpine-keys diff --git a/.github/workflows/regex-engine.yml b/.github/workflows/regex-engine.yml index d7d9c2655584..a13622a7885f 100644 --- a/.github/workflows/regex-engine.yml +++ b/.github/workflows/regex-engine.yml @@ -13,7 +13,7 @@ jobs: container: crystallang/crystal:1.11.2-alpine steps: - name: Download Crystal source - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Remove PCRE2 run: apk del pcre2-dev - name: Assert using PCRE @@ -28,7 +28,7 @@ jobs: container: crystallang/crystal:1.11.2-alpine steps: - name: Download Crystal source - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Assert using PCRE2 run: bin/crystal eval 'abort unless Regex::Engine == Regex::PCRE2' - name: Assert select PCRE diff --git a/.github/workflows/smoke.yml b/.github/workflows/smoke.yml index 8deffd149dbd..2dc3a1ce731a 100644 --- a/.github/workflows/smoke.yml +++ b/.github/workflows/smoke.yml @@ -63,7 +63,7 @@ jobs: steps: - name: Download Crystal source - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Build fresh compiler run: bin/ci with_build_env make diff --git a/.github/workflows/wasm32.yml b/.github/workflows/wasm32.yml index c8f2058ebea0..903fdf85b27a 100644 --- a/.github/workflows/wasm32.yml +++ b/.github/workflows/wasm32.yml @@ -15,10 +15,10 @@ jobs: container: crystallang/crystal:1.11.2-build steps: - name: Download Crystal source - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Install wasmtime - uses: mwilliamson/setup-wasmtime-action@v2 + uses: mwilliamson/setup-wasmtime-action@v3 with: wasmtime-version: "2.0.0" diff --git a/.github/workflows/win.yml b/.github/workflows/win.yml index 05f74b6378c6..e37ad2e40fcf 100644 --- a/.github/workflows/win.yml +++ b/.github/workflows/win.yml @@ -11,7 +11,7 @@ env: jobs: x86_64-windows-libs: - runs-on: windows-2022 + runs-on: windows-2025 steps: - name: Disable CRLF line ending substitution run: | @@ -21,11 +21,11 @@ jobs: uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 - name: Download Crystal source - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Cache libraries id: cache-libs - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | # openssl and llvm take much longer to build so they are cached separately libs/pcre.lib @@ -68,7 +68,7 @@ jobs: - name: Cache OpenSSL id: cache-openssl - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | libs/crypto.lib @@ -77,13 +77,13 @@ jobs: key: win-openssl-libs-3.1.0-${{ hashFiles('etc/win-ci/build-openssl.ps1') }}-msvc - name: Set up NASM if: steps.cache-openssl.outputs.cache-hit != 'true' - uses: ilammy/setup-nasm@13cbeb366c45c4379d3478cdcbadd8295feb5028 # v1.5.1 + uses: ilammy/setup-nasm@72793074d3c8cdda771dba85f6deafe00623038b # v1.5.2 - name: Build OpenSSL if: steps.cache-openssl.outputs.cache-hit != 'true' run: .\etc\win-ci\build-openssl.ps1 -BuildTree deps\openssl -Version 3.1.0 x86_64-windows-dlls: - runs-on: windows-2022 + runs-on: windows-2025 steps: - name: Disable CRLF line ending substitution run: | @@ -93,11 +93,11 @@ jobs: uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 - name: Download Crystal source - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Cache libraries id: cache-dlls - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | # openssl and llvm take much longer to build so they are cached separately libs/pcre-dynamic.lib @@ -149,7 +149,7 @@ jobs: - name: Cache OpenSSL id: cache-openssl-dlls - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | libs/crypto-dynamic.lib @@ -159,20 +159,20 @@ jobs: key: win-openssl-dlls-3.1.0-${{ hashFiles('etc/win-ci/build-openssl.ps1') }}-msvc - name: Set up NASM if: steps.cache-openssl-dlls.outputs.cache-hit != 'true' - uses: ilammy/setup-nasm@13cbeb366c45c4379d3478cdcbadd8295feb5028 # v1.5.1 + uses: ilammy/setup-nasm@72793074d3c8cdda771dba85f6deafe00623038b # v1.5.2 - name: Build OpenSSL if: steps.cache-openssl-dlls.outputs.cache-hit != 'true' run: .\etc\win-ci\build-openssl.ps1 -BuildTree deps\openssl -Version 3.1.0 -Dynamic x86_64-windows-llvm-libs: - runs-on: windows-2022 + runs-on: windows-2025 steps: - name: Enable Developer Command Prompt uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 - name: Cache LLVM id: cache-llvm-libs - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: llvm key: llvm-libs-${{ env.CI_LLVM_VERSION }}-msvc @@ -188,7 +188,7 @@ jobs: cmake "-DCMAKE_INSTALL_PREFIX=$(pwd)\..\llvm" -P cmake_install.cmake x86_64-windows-llvm-dlls: - runs-on: windows-2022 + runs-on: windows-2025 steps: - name: Disable CRLF line ending substitution run: | @@ -198,11 +198,11 @@ jobs: uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 - name: Download Crystal source - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Cache LLVM id: cache-llvm-dlls - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | libs/llvm_VERSION @@ -221,7 +221,7 @@ jobs: llvm_version: "18.1.1" x86_64-windows-test: - runs-on: windows-2022 + runs-on: windows-2025 needs: [x86_64-windows] steps: - name: Disable CRLF line ending substitution @@ -232,16 +232,16 @@ jobs: uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 - name: Download Crystal source - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Download Crystal executable - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: crystal path: build - name: Restore LLVM - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 with: path: llvm key: llvm-libs-${{ env.CI_LLVM_VERSION }}-msvc @@ -275,7 +275,7 @@ jobs: x86_64-windows-installer: if: github.repository_owner == 'crystal-lang' && (startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/heads/ci/')) - runs-on: windows-2022 + runs-on: windows-2025 needs: [x86_64-windows-release] steps: - name: Disable CRLF line ending substitution @@ -283,16 +283,16 @@ jobs: git config --global core.autocrlf false - name: Download Crystal source - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Download Crystal executable - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: crystal-release path: etc/win-ci/portable - name: Restore LLVM - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 with: path: llvm key: llvm-libs-${{ env.CI_LLVM_VERSION }}-msvc @@ -312,7 +312,7 @@ jobs: iscc.exe crystal.iss - name: Upload Crystal installer - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: crystal-installer path: etc/win-ci/Output/crystal-setup.exe diff --git a/.github/workflows/win_build_portable.yml b/.github/workflows/win_build_portable.yml index 13f4e73a0d51..80de65721a41 100644 --- a/.github/workflows/win_build_portable.yml +++ b/.github/workflows/win_build_portable.yml @@ -12,7 +12,7 @@ on: jobs: build: - runs-on: windows-2022 + runs-on: windows-2025 steps: - name: Disable CRLF line ending substitution run: | @@ -27,10 +27,10 @@ jobs: crystal: "1.11.2" - name: Download Crystal source - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Restore libraries - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 with: path: | libs/pcre.lib @@ -45,7 +45,7 @@ jobs: key: win-libs-${{ hashFiles('.github/workflows/win.yml', 'etc/win-ci/*.ps1') }}-msvc fail-on-cache-miss: true - name: Restore OpenSSL - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 with: path: | libs/crypto.lib @@ -54,7 +54,7 @@ jobs: key: win-openssl-libs-3.1.0-${{ hashFiles('etc/win-ci/build-openssl.ps1') }}-msvc fail-on-cache-miss: true - name: Restore DLLs - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 with: path: | libs/pcre-dynamic.lib @@ -78,7 +78,7 @@ jobs: key: win-dlls-${{ hashFiles('.github/workflows/win.yml', 'etc/win-ci/*.ps1') }}-msvc fail-on-cache-miss: true - name: Restore OpenSSL DLLs - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 with: path: | libs/crypto-dynamic.lib @@ -88,13 +88,13 @@ jobs: key: win-openssl-dlls-3.1.0-${{ hashFiles('etc/win-ci/build-openssl.ps1') }}-msvc fail-on-cache-miss: true - name: Restore LLVM - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 with: path: llvm key: llvm-libs-${{ inputs.llvm_version }}-msvc fail-on-cache-miss: true - name: Restore LLVM DLLs - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 with: path: | libs/llvm_VERSION @@ -123,7 +123,7 @@ jobs: cp dlls/LLVM-C.dll .build/ - name: Download shards release - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: crystal-lang/shards ref: v0.18.0 @@ -143,7 +143,7 @@ jobs: cp README.md crystal/ - name: Upload Crystal binaries - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ inputs.release && 'crystal-release' || 'crystal' }} path: crystal