Skip to content

Commit c39cd7a

Browse files
authored
ci: run build, test and lint on Crystal 1.21.0 only (#2463)
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.
1 parent 4754310 commit c39cd7a

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
runs-on: ubuntu-latest
2828
strategy:
2929
matrix:
30-
crystal-version: [1.19.0, 1.20.0, 1.21.0]
30+
crystal-version: [1.21.0]
3131
steps:
3232
- uses: actions/checkout@v7
3333
- uses: crystal-lang/install-crystal@v1
@@ -103,7 +103,7 @@ jobs:
103103
- uses: actions/checkout@v7
104104
- uses: crystal-lang/install-crystal@v1
105105
with:
106-
crystal: 1.20.0
106+
crystal: 1.21.0
107107
- name: Install dependencies
108108
run: shards install
109109
- name: Run Ameba linter
@@ -118,7 +118,7 @@ jobs:
118118
runs-on: ubuntu-latest
119119
strategy:
120120
matrix:
121-
crystal-version: [1.19.0, 1.20.0, 1.21.0]
121+
crystal-version: [1.21.0]
122122
steps:
123123
- uses: actions/checkout@v7
124124
- uses: crystal-lang/install-crystal@v1

AGENTS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Crystal-based attack surface detector that identifies endpoints by static analys
1717

1818
```bash
1919
# Docker build (for CI or consistent environments)
20-
docker run --rm -v $(pwd):/app -w /app crystallang/crystal:1.19.0-alpine sh -c "apk add --no-cache yaml-dev zstd-dev && shards install && shards build"
20+
docker run --rm -v $(pwd):/app -w /app crystallang/crystal:1.21.0-alpine sh -c "apk add --no-cache yaml-dev zstd-dev && shards install && shards build"
2121

2222
# Local install (Ubuntu/Debian)
2323
curl -fsSL https://crystal-lang.org/install.sh | sudo bash
@@ -161,6 +161,6 @@ Key design notes:
161161
4. Verify basic functionality: `./bin/noir -b spec/functional_test/fixtures/crystal`
162162

163163
## Environment
164-
- Crystal ~> 1.19 (CI: 1.19.0)
165-
- Docker image: `crystallang/crystal:1.19.0-alpine`
164+
- Crystal ~> 1.19 (CI: 1.21.0)
165+
- Docker image: `crystallang/crystal:1.21.0-alpine`
166166
- Dependencies: `libyaml-dev`, `libzstd-dev`, `zlib1g-dev`, `pkg-config`

0 commit comments

Comments
 (0)