Use #error_host
instead of #host
to avoid triggering a deprecatio…
#190
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: airbrake-ruby | |
on: [push] | |
permissions: | |
contents: read | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
ruby: [2.5, 2.6, 2.7, 3.0, 3.1, head, jruby, jruby-head] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Rubocop lint | |
run: if [[ "$RUBY_ENGINE" == "ruby" ]]; then bundle exec rubocop; fi | |
- name: YARD lint | |
run: | | |
touch README # Workaround for "incorrect" anchor links in README.md | |
bundle exec yardoc --fail-on-warning --no-progress --readme=README | |
- name: Display Ruby version | |
run: ruby -v | |
- name: Test | |
run: bundle exec rake |