Skip to content

update crystal version to fix `E: Locked version 1.6.2 for ameba was … #7

update crystal version to fix `E: Locked version 1.6.2 for ameba was …

update crystal version to fix `E: Locked version 1.6.2 for ameba was … #7

Workflow file for this run

name: lint
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
lint:
name: lint
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: checkout
uses: actions/checkout@v4
- name: fetch crystal version
id: crystal-version
run: echo "crystal=$(cat .crystal-version)" >> $GITHUB_OUTPUT
- name: install crystal
uses: crystal-lang/[email protected]
with:
crystal: ${{ steps.crystal-version.outputs.crystal }}
- name: bootstrap
run: script/bootstrap --ci
- name: lint
run: script/lint
- name: format check
run: script/format --check