Fix rubocop and fix ci #4
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: GeneratorTests | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test-generator-templates: | |
name: Test Generator | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@52753b7da854d5c07df37391a986c76ab4615999 | |
with: | |
ruby-version: "3.3" | |
bundler-cache: true | |
run: ruby ./bin/generator.rb --verify | |
test-generator: | |
name: Check Generator Templates | |
runs-on: ubuntu-22.04 | |
container: | |
image: crystallang/crystal | |
steps: | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@52753b7da854d5c07df37391a986c76ab4615999 | |
with: | |
ruby-version: "3.3" | |
bundler-cache: true | |
run: rake test:generator |