Skip to content

[CI] add Ruby 3.3 and tmp fix for Ruby 3.4 (head) #59

[CI] add Ruby 3.3 and tmp fix for Ruby 3.4 (head)

[CI] add Ruby 3.3 and tmp fix for Ruby 3.4 (head) #59

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
permissions:
checks: write
contents: read
env:
YOUTUBE_API_KEY: ${{ secrets.YOUTUBE_API_KEY }}
VIMEO_ACCESS_TOKEN: ${{ secrets.VIMEO_ACCESS_TOKEN }}
jobs:
specs:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: ['2.7', '3.0', '3.1', '3.2', '3.3', 'head']
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests
run: bundle exec rspec
- name: Publish code coverage
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageLocations: ${{ github.workspace }}/coverage/coverage.json:simplecov
linter:
runs-on: ubuntu-latest
steps:
- name: StandardRB Linter
uses: amoeba/standardrb-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}