Skip to content

Commit

Permalink
updating shard versions (#15)
Browse files Browse the repository at this point in the history
* updating shard versions

* update CI so it includes windows
  • Loading branch information
jwoertink authored Sep 16, 2023
1 parent ceedd48 commit aefb899
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 29 deletions.
41 changes: 16 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,14 @@ jobs:
check_format:
strategy:
fail-fast: false
matrix:
crystal_version:
- latest
experimental:
- false
include:
- crystal_version: nightly
experimental: true
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
continue-on-error: false
steps:
- uses: actions/checkout@v2
- name: Checkout source
uses: actions/checkout@v3
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
with:
crystal: ${{ matrix.crystal_version }}
- name: Install shards
- name: Install dependencies
run: shards install
- name: Format
run: crystal tool format --check
Expand All @@ -36,23 +27,23 @@ jobs:
strategy:
fail-fast: false
matrix:
crystal_version:
- 1.4.0
- latest
experimental:
- false
os: [ubuntu-latest, windows-latest]
crystal_version: [latest]
include:
- crystal_version: nightly
experimental: true
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
- os: ubuntu-latest
crystal_version: 1.4.0
runs-on: ${{ matrix.os }}
continue-on-error: false
steps:
- uses: actions/checkout@v2
- name: Checkout source
uses: actions/checkout@v3
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
with:
crystal: ${{ matrix.crystal_version }}
- name: Install shards
run: shards install
- name: Install dependencies
run: shards install --skip-postinstall --skip-executables
- name: Create .env file
run: touch .env
- name: Run tests
run: crystal spec
8 changes: 4 additions & 4 deletions shard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ license: MIT
dependencies:
carbon:
github: luckyframework/carbon
version: ~> 0.3.0
version: ~> 0.4.0
habitat:
github: luckyframework/habitat
version: ~> 0.4.7
version: ~> 0.4.8

development_dependencies:
lucky_env:
github: luckyframework/lucky_env
version: ~> 0.1.1
version: ~> 0.2.0
ameba:
github: crystal-ameba/ameba
version: ~> 1.1.0
version: ~> 1.5.0

0 comments on commit aefb899

Please sign in to comment.