Skip to content

Commit

Permalink
Lock to Crystal 1.4 or later (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwoertink authored May 29, 2022
1 parent b573774 commit 7643fc4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 23 deletions.
28 changes: 9 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,14 @@ jobs:
check_format:
strategy:
fail-fast: false
matrix:
crystal_version:
- 1.0.0
- 1.1.0
- 1.2.0
- 1.3.0
experimental:
- false
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
container: crystallang/crystal:${{ matrix.crystal_version }}-alpine
continue-on-error: false
steps:
- uses: actions/checkout@v1
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
with:
crystal: latest
- name: Install shards
run: shards install
- name: Format
Expand All @@ -34,22 +29,17 @@ jobs:
fail-fast: false
matrix:
crystal_version:
- 1.0.0
- 1.1.0
- 1.2.0
- 1.3.0
- 1.4.0
- latest
experimental:
- false
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
container: crystallang/crystal:${{ matrix.crystal_version }}-alpine
steps:
- uses: actions/checkout@v2
- name: Cache Crystal
uses: actions/cache@v1
- uses: crystal-lang/install-crystal@v1
with:
path: ~/.cache/crystal
key: ${{ runner.os }}-crystal
crystal: ${{matrix.crystal_version}}
- name: Install dependencies
run: shards install
- name: Create .env file
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
container:
image: crystallang/crystal:0.36.1
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- uses: crystal-lang/install-crystal@v1
- name: "Install shards"
run: shards install
- name: "Generate docs"
Expand Down
4 changes: 2 additions & 2 deletions shard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 0.2.1
authors:
- Paul Smith <[email protected]>

crystal: ">= 1.0.0"
crystal: ">= 1.4.0"

license: MIT

Expand Down Expand Up @@ -32,7 +32,7 @@ development_dependencies:
version: ~> 0.1.4
ameba:
github: crystal-ameba/ameba
version: ~> 0.14.3
version: ~> 1.0.0

scripts:
postinstall: BUILD_WITHOUT_DEVELOPMENT=true script/precompile_tasks

0 comments on commit 7643fc4

Please sign in to comment.