-
Notifications
You must be signed in to change notification settings - Fork 22
38 lines (34 loc) · 753 Bytes
/
main.yml
File metadata and controls
38 lines (34 loc) · 753 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
33
34
35
36
37
38
name: Ruby
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby:
- '3.3'
- '3.4'
- '4.0'
steps:
- uses: actions/checkout@v6
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Run setup
run: bin/setup
- name: Run the default task
run: bundle exec rake
- name: Generate RBS files
run: |
bundle exec rbs-inline lib --output
- name: Type check with Steep
run: bundle exec steep check
- name: Confirm the latest RBS file is committed
run: |
git diff --exit-code sig