Skip to content

ci: run build, test and lint on Crystal 1.21.0 only - #2463

Merged
hahwul merged 1 commit into
mainfrom
hahwul/ci-pin-crystal-1
Aug 6, 2026
Merged

ci: run build, test and lint on Crystal 1.21.0 only#2463
hahwul merged 1 commit into
mainfrom
hahwul/ci-pin-crystal-1

Conversation

@hahwul

@hahwul hahwul commented Aug 6, 2026

Copy link
Copy Markdown
Member

Summary

CI fanned build-crystal and tests out over Crystal 1.19.0, 1.20.0 and 1.21.0, and pinned lint to 1.20.0 — six jobs per run for versions we no longer target. Meanwhile the Dockerfile has already moved to crystallang/crystal:1.21.0-alpine, so the version CI exercised did not match what ships.

  • build-crystal matrix: [1.19.0, 1.20.0, 1.21.0][1.21.0]
  • tests matrix: [1.19.0, 1.20.0, 1.21.0][1.21.0]
  • lint: 1.20.01.21.0

The matrix form is kept rather than inlined, so extra versions can be restored by editing a single list.

AGENTS.md still documented 1.19.0 as both the CI and Docker version; updated to match the tree.

Out of scope

  • shard.yml keeps crystal: ~> 1.19. The declared support range for consumers is unchanged — only what CI verifies narrows.
  • release-binaries.yml (1.20.0) and snap/snapcraft.yaml (1.20.0) are release-build paths, not the build/test lanes this change targets, so they are left alone.

The build-crystal and tests matrices fanned out over 1.19.0, 1.20.0 and
1.21.0, and lint pinned 1.20.0. Six jobs per run for versions we no
longer target, while the Dockerfile has already moved to
crystal:1.21.0-alpine — so the images CI exercised did not match what
ships.

Collapse both matrices to 1.21.0 and move lint onto the same version.
The matrix form is kept so extra versions can be re-added by editing a
single list. AGENTS.md still documented 1.19.0 as the CI and Docker
version; update it to match the tree.

Note that shard.yml keeps `crystal: ~> 1.19` — the declared support
range for consumers is unchanged, only what CI verifies narrows.
@github-actions github-actions Bot added 🦺 github-action Issue for GitHub actions 🛥️ workflow Issue for Workflows labels Aug 6, 2026
@hahwul
hahwul merged commit c39cd7a into main Aug 6, 2026
9 checks passed
@hahwul
hahwul deleted the hahwul/ci-pin-crystal-1 branch August 6, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🦺 github-action Issue for GitHub actions 🛥️ workflow Issue for Workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant