-
-
Notifications
You must be signed in to change notification settings - Fork 64
48 lines (45 loc) · 861 Bytes
/
main.yml
File metadata and controls
48 lines (45 loc) · 861 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
39
40
41
42
43
44
45
46
47
48
name: Main
on:
- push
- pull_request
jobs:
ci:
strategy:
fail-fast: false
matrix:
ruby:
- '2.7.0'
- '3.0'
- '3.1'
- '3.2'
- '3.3'
- '3.4'
- truffleruby-head
name: CI
runs-on: ubuntu-latest
env:
CI: true
# TESTOPTS: --verbose
steps:
- uses: actions/checkout@master
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
- name: Test
run: bundle exec rake test
check:
name: Check
runs-on: ubuntu-latest
env:
CI: true
steps:
- uses: actions/checkout@master
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: '3.2'
- name: Check
run: |
bundle exec rake stree:check
bundle exec rubocop