Skip to content

Commit bb902a9

Browse files
committed
Make sure project uses Crystal 1.20.1
1 parent 512f8ad commit bb902a9

4 files changed

Lines changed: 3 additions & 9 deletions

File tree

.github/workflows/qa.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
crystal:
1111
runs-on: ubuntu-latest
1212
container:
13-
image: crystallang/crystal:1.20.0
13+
image: crystallang/crystal:1.20.1
1414
steps:
1515
- uses: actions/checkout@v1
1616
- name: Install required packages

.github/workflows/specs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
container:
15-
image: crystallang/crystal:1.20.0
15+
image: crystallang/crystal:1.20.1
1616
steps:
1717
- uses: actions/checkout@v2
1818
- name: Install required packages

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM crystallang/crystal:1.20.0
1+
FROM crystallang/crystal:1.20.1
22
WORKDIR /app
33
COPY . .
44

src/website/context_producers/version_context_producer.cr

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@ module Website
44

55
def produce(request : Marten::HTTP::Request? = nil)
66
version_data
7-
rescue
8-
{
9-
"latest_version" => "0.6.3",
10-
"latest_version_date" => "Mar 29, 2026",
11-
"latest_major_version" => "0.6",
12-
}
137
end
148

159
private def version_data : Hash(String, String)

0 commit comments

Comments
 (0)