File: main.yml

package info (click to toggle)
ruby-method-source 1.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 180 kB
  • sloc: ruby: 487; makefile: 3; sh: 2
file content (25 lines) | stat: -rw-r--r-- 608 bytes parent folder | download | duplicates (2)
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
name: Ruby

on: ['push']

jobs:
  build:
    runs-on: ubuntu-latest
    name: Ruby ${{ matrix.ruby }}
    strategy:
      matrix:
        ruby: ['2.7', '3.0', '3.1', '3.2', '3.3', 'head']
        rubyopt: ['']
        include:
          - ruby: '3.3'
            rubyopt: "--enable-frozen-string-literal --debug-frozen-string-literal"

    steps:
    - uses: actions/checkout@v4
    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}
        bundler-cache: true
    - name: Run the default task
      run: bundle exec rake RUBYOPT="${{ matrix.rubyopt }}"