-
Notifications
You must be signed in to change notification settings - Fork 14
34 lines (27 loc) · 818 Bytes
/
main.yml
File metadata and controls
34 lines (27 loc) · 818 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
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: [ "3.2", "3.3", "3.4" ]
name: Test Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Ruby
uses: ruby/setup-ruby@7372622e62b60b3cb750dcd2b9e32c247ffec26a # v1.302.0
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run type check
run: bin/typecheck
- name: Lint Ruby files
run: bin/style --config .rubocop.yml
- name: Run tests
run: bin/test
- name: Check exported RBI files
run: bin/export-rbi --check-sync
- name: Check shims
run: bin/tapioca check-shims