forked from temporalio/samples-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (32 loc) · 831 Bytes
/
Copy pathci.yml
File metadata and controls
37 lines (32 loc) · 831 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
name: Continuous Integration
on:
pull_request:
push:
branches:
- main
- "releases/*"
jobs:
build-lint-test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-13, macos-latest]
# Earliest and latest supported
rubyVersion: ["3.2", "3.4"]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.rubyVersion }}
- name: Install bundle
run: bundle install
- name: Lint and test
run: bundle exec rake TESTOPTS="--verbose"
- name: Type check Sorbet sample
working-directory: sorbet_generic
run: |
bundle install
bundle exec srb tc