-
-
Notifications
You must be signed in to change notification settings - Fork 532
32 lines (30 loc) · 769 Bytes
/
generator-tests.yml
File metadata and controls
32 lines (30 loc) · 769 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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