Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mamantoha committed Jul 4, 2024
1 parent 9dc07f7 commit 1e977ac
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,22 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
crystal:
- latest
- nightly
- 1.0.0
include:
- {os: ubuntu-latest, crystal: latest}
- {os: ubuntu-latest, crystal: nightly}
- {os: ubuntu-latest, crystal: 1.0.0}
runs-on: ${{ matrix.os }}
container: crystallang/crystal:${{ matrix.crystal }}-alpine
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: shards install --ignore-crystal-version
- name: Lint
run: ./bin/ameba
- name: Format
run: crystal tool format --check
- name: Run tests
run: crystal spec -v --error-trace
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
with:
crystal: ${{matrix.crystal}}
- uses: actions/checkout@v4
- name: Install dependencies
run: shards install --ignore-crystal-version
- name: Lint
run: ./bin/ameba
- name: Format
run: crystal tool format --check
- name: Run tests
run: crystal spec -v --error-trace

0 comments on commit 1e977ac

Please sign in to comment.