Move AbstractAdapter#valid_type? to a class method (#1326) #1928
This file contains hidden or 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: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
schedule: | |
- cron: '0 4 * * 0' | |
jobs: | |
test: | |
name: Run test suite | |
runs-on: ubuntu-latest | |
env: | |
COMPOSE_FILE: compose.ci.yaml | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: | |
- 3.4.1 | |
- 3.3.6 | |
- 3.2.6 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Build docker images | |
run: docker compose build --build-arg TARGET_VERSION=${{ matrix.ruby }} | |
- name: Run tests | |
run: docker compose run ci | |
standardrb: | |
name: Code linting and formatting | |
runs-on: ubuntu-latest | |
env: | |
COMPOSE_FILE: compose.ci.yaml | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: | |
- 3.4.1 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Build docker images | |
run: docker compose build --build-arg TARGET_VERSION=${{ matrix.ruby }} | |
- name: Run standardrb | |
run: docker compose run standardrb |