Add 2023-10 version #1211
Workflow file for this run
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: CI | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
name: Ruby ${{ matrix.version }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
version: | |
- 2.7 | |
- 3.0 | |
- 3.1 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Ruby ${{ matrix.version }} | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.version }} | |
- name: Run Bundle Commands | |
run: | | |
bundle config set --with docs | |
bundle config set ignore_messages true | |
bundle | |
- name: Run RuboCop | |
run: | | |
bundle exec rubocop | |
- name: Run Typecheck | |
run: | | |
bundle exec srb tc | |
- name: Run tests | |
run: | | |
bundle exec rake test:library | |
- name: Run REST wrapper tests | |
run: | | |
bundle exec rake test:rest_wrappers |