Skip to content

Commit

Permalink
Update actions to fix testing, add more platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
arcreative committed Nov 8, 2024
1 parent 76fbd95 commit 774e292
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,24 @@ on:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest
test:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest ]
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
ruby: [ '2.7', '3.0', '3.1', '3.2', '3.3', head, jruby, jruby-head, truffleruby, truffleruby-head ]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install additional dependencies
run: |
sudo apt update && sudo apt install postgresql-client -y
- name: Set up Ruby 2.7
uses: actions/setup-ruby@v1
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.x
ruby-version: ${{ matrix.ruby }}

- name: Setup PostgreSQL
uses: Harmon758/postgresql-action@v1
Expand Down

0 comments on commit 774e292

Please sign in to comment.