From aefb8991ae4da446f2ecb703e8c4eef86ece3b1e Mon Sep 17 00:00:00 2001 From: Jeremy Woertink Date: Fri, 15 Sep 2023 19:05:54 -0700 Subject: [PATCH] updating shard versions (#15) * updating shard versions * update CI so it includes windows --- .github/workflows/ci.yml | 41 ++++++++++++++++------------------------ shard.yml | 8 ++++---- 2 files changed, 20 insertions(+), 29 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e36485d..5f593e3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 diff --git a/shard.yml b/shard.yml index c3c5aa6..f435d90 100644 --- a/shard.yml +++ b/shard.yml @@ -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