Skip to content

feat: add release workflow on tag creation #2

feat: add release workflow on tag creation

feat: add release workflow on tag creation #2

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [main]
jobs:
lint:
name: StandardRB
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
bundler-cache: true
- run: bundle exec standardrb
test:
name: Tests (Ruby ${{ matrix.ruby }}, Rails ${{ matrix.rails }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: ["3.1", "3.2", "3.3"]
rails: ["7.0", "7.1", "7.2", "8.0"]
exclude:
- ruby: "3.1"
rails: "8.0"
env:
RAILS_VERSION: ${{ matrix.rails }}
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake test