summaryrefslogtreecommitdiff
path: root/.github/workflows/macos.yml
blob: 051888b99e93aca984645a6d711f260be4e5ac9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: macos

on: [push, pull_request]

jobs:
  build:
    runs-on: macos-latest
    strategy:
      fail-fast: false
      matrix:
        ruby: [ 3.1, "3.0", 2.7, 2.6, 2.5, 2.4 ]
    steps:
      - uses: actions/checkout@v3
      - name: Install libraries
        run: brew install libyaml
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
      - name: Install dependencies
        run: bundle install
      - name: Run test
        run: rake