Pass token to email subject translation (#224) #303
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: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: | |
- "3.0" | |
- "3.1" | |
- "3.2" | |
- "3.3" | |
gemfile: | |
- Gemfile | |
- gemfiles/Gemfile-rails-main | |
- gemfiles/Gemfile-rails-7-0 | |
- gemfiles/Gemfile-rails-6-1 | |
exclude: | |
- gemfile: gemfiles/Gemfile-rails-main | |
ruby: "3.0" | |
env: | |
BUNDLE_GEMFILE: ${{ matrix.gemfile }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: migration | |
run: | | |
bin/rails db:create RAILS_ENV=test | |
bin/rails db:migrate RAILS_ENV=test | |
- name: test | |
run: bin/rails test | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |