Fix method call after renaming and run specs on GHA #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
format: | |
name: Format check | |
runs-on: ubuntu-latest | |
container: 84codes/crystal:latest-ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- run: crystal tool format --check | |
spec: | |
name: Spec | |
runs-on: ubuntu-latest | |
container: 84codes/crystal:latest-ubuntu-24.04 | |
steps: | |
- name: Print Crystal version | |
run: crystal -v | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Spec | |
run: crystal spec |