Update Github Actions config (#152)

Add explicit 1.0.0 to version matrix.

Formatter check should only run on latest.
This commit is contained in:
Johannes Müller 2021-06-21 16:53:14 +02:00 committed by GitHub
parent 52bd5b0a86
commit 3a53a69f83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
crystal: [latest, nightly]
crystal: [1.0.0, latest, nightly]
runs-on: ${{ matrix.os }}
steps:
@ -30,4 +30,4 @@ jobs:
- name: Check formatting
run: crystal tool format; git diff --exit-code
if: matrix.crystal != 'nightly' && matrix.os == 'ubuntu-latest'
if: matrix.crystal == 'latest' && matrix.os == 'ubuntu-latest'