Update sinatra → 4.0.0 (unknown) #76
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
ubuntu: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby-version: [3.2, 3.1, 3.0] | |
steps: | |
- name: Install libdnssd | |
run: sudo apt-get install libavahi-compat-libdnssd-dev | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby ${{ matrix.ruby-version }} | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
- name: Install dependencies | |
run: bundle | |
- name: Run tests | |
run: bundle exec rake | |
mac: | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
ruby-version: [3.2, 3.1, 3.0] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby ${{ matrix.ruby-version }} | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
- name: Install dependencies | |
run: bundle | |
- name: Run tests | |
run: bundle exec rake |