Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .github/workflows/aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,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://crystallang/crystal:1.13.2-alpine-84codes-build
with:
args: make crystal
- name: Upload Crystal executable
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: crystal-aarch64-musl
path: |
Expand All @@ -32,9 +32,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@v6
with:
name: crystal-aarch64-musl
- name: Mark downloaded compiler as executable
Expand All @@ -49,9 +49,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@v6
with:
name: crystal-aarch64-musl
- name: Mark downloaded compiler as executable
Expand All @@ -65,13 +65,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://crystallang/crystal:1.13.2-ubuntu-84codes-build
with:
args: make crystal
- name: Upload Crystal executable
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: crystal-aarch64-gnu
path: |
Expand All @@ -83,9 +83,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@v6
with:
name: crystal-aarch64-gnu
- name: Mark downloaded compiler as executable
Expand All @@ -100,9 +100,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@v6
with:
name: crystal-aarch64-gnu
- name: Mark downloaded compiler as executable
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
if: github.repository_owner == 'crystal-lang' && github.event.pull_request.merged == true && (github.event_name != 'labeled' || startsWith('backport', github.event.label.name))
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
token: ${{ secrets.BACKPORT_ACTION_GITHUB_PAT }}

- name: Create backport PR
uses: korthout/backport-action@be567af183754f6a5d831ae90f648954763f17f5 # v3.1.0
uses: korthout/backport-action@d07416681cab29bf2661702f925f020aaa962997 # v3.4.1
with:
github_token: ${{ secrets.BACKPORT_ACTION_GITHUB_PAT }}
# Config README: https://github.com/korthout/backport-action#backport-action
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,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
Expand All @@ -34,7 +34,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@v5
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/forward-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,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
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/interpreter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
image: crystallang/crystal:1.15.1-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
Expand All @@ -29,13 +29,13 @@ jobs:
image: crystallang/crystal:1.15.1-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@v5
with:
name: crystal-interpreter
path: |
Expand All @@ -51,10 +51,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@v6
with:
name: crystal-interpreter
path: .build/
Expand All @@ -72,10 +72,10 @@ jobs:
image: crystallang/crystal:1.15.1-build
name: "Test primitives_spec with interpreter"
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Download compiler artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@v6
with:
name: crystal-interpreter
path: .build/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-actionlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Check workflow files
uses: docker://rhysd/actionlint:latest
8 changes: 4 additions & 4 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- crystal_bootstrap_version: 1.15.1 # LATEST RELEASE
steps:
- name: Download Crystal source
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Prepare System
run: bin/ci prepare_system
Expand All @@ -52,7 +52,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
Expand All @@ -70,7 +70,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
Expand All @@ -91,7 +91,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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/llvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
name: "LLVM ${{ matrix.llvm_version }}"
steps:
- name: Checkout Crystal source
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Install LLVM ${{ matrix.llvm_version }}
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ jobs:
arch: aarch64-darwin
steps:
- name: Download Crystal source
uses: actions/checkout@v4
uses: actions/checkout@v6

- uses: cachix/install-nix-action@v30
- uses: cachix/install-nix-action@v31
with:
extra_nix_config: |
experimental-features = nix-command

- uses: cachix/cachix-action@v15
- uses: cachix/cachix-action@v16
with:
name: crystal-ci
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/mingw-w64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ env:

jobs:
x86_64-mingw-w64-build:
runs-on: windows-2022
runs-on: windows-2025
steps:
- name: Setup MSYS2
id: msys2
uses: msys2/setup-msys2@d44ca8e88d8b43d56cf5670f91747359d5537f97 # v2.26.0
uses: msys2/setup-msys2@fb197b72ce45fb24f17bf3f807a388985654d1f2 # v2.29.0
with:
msystem: UCRT64
update: true
Expand All @@ -33,7 +33,7 @@ jobs:
git config --global core.autocrlf false

- name: Download Crystal source
uses: actions/checkout@v4
uses: actions/checkout@v6

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

- name: Download shards release
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
repository: crystal-lang/shards
ref: v0.19.1
Expand All @@ -64,17 +64,17 @@ jobs:
ldd bin/shards.exe | grep -iv ' => /c/windows/system32' | sed 's/.* => //; s/ (.*//' | xargs -t -i /usr/bin/install -m 0755 '{}' "$(pwd)/../crystal/bin/"

- name: Upload Crystal executable
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: x86_64-mingw-w64-crystal
path: crystal

x86_64-mingw-w64-test-stdlib:
runs-on: windows-2022
runs-on: windows-2025
steps:
- name: Setup MSYS2
id: msys2
uses: msys2/setup-msys2@d44ca8e88d8b43d56cf5670f91747359d5537f97 # v2.26.0
uses: msys2/setup-msys2@fb197b72ce45fb24f17bf3f807a388985654d1f2 # v2.29.0
with:
msystem: UCRT64
update: true
Expand All @@ -90,7 +90,7 @@ jobs:
git config --global core.autocrlf false

- name: Download Crystal source
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Run stdlib specs
shell: msys2 {0}
Expand All @@ -99,11 +99,11 @@ jobs:
make std_spec

x86_64-mingw-w64-test-compiler:
runs-on: windows-2022
runs-on: windows-2025
steps:
- name: Setup MSYS2
id: msys2
uses: msys2/setup-msys2@d44ca8e88d8b43d56cf5670f91747359d5537f97 # v2.26.0
uses: msys2/setup-msys2@fb197b72ce45fb24f17bf3f807a388985654d1f2 # v2.29.0
with:
msystem: UCRT64
update: true
Expand All @@ -119,7 +119,7 @@ jobs:
git config --global core.autocrlf false

- name: Download Crystal source
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Run compiler specs
shell: msys2 {0}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/openssl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
repository: http://dl-cdn.alpinelinux.org/alpine/v3.20/community
steps:
- name: Download Crystal source
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Uninstall openssl and conflicts
run: apk del openssl-dev openssl-libs-static libxml2-static
- name: Install ${{ matrix.pkg }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/regex-engine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
container: crystallang/crystal:1.15.1-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
Expand All @@ -47,7 +47,7 @@ jobs:
container: crystallang/crystal:1.15.1-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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wasm32.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
container: crystallang/crystal:1.15.1-build
steps:
- name: Download Crystal source
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Install wasmtime
uses: mwilliamson/setup-wasmtime-action@v2
Expand Down
Loading
Loading