Skip to content

chore: bump version #58

chore: bump version

chore: bump version #58

Workflow file for this run

name: rspec
on:
workflow_dispatch:
push:
jobs:
rspec:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [ 2.6, 2.7, "3.0", 3.1, 3.2, 3.3 ]
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Configure Bundler
run: |
ruby -v
# gem update --system
gem --version
gem install -N bundler -v 2.4
- uses: actions/cache@v3
with:
path: vendor/bundle
key: ${{ runner.os }}-gem-${{ hashFiles(format('{0}{1}', github.workspace, '/Gemfile.lock')) }}
restore-keys: ${{ runner.os }}-gem-
- name: Install ruby dependencies
run: |
bundle check || bundle install --jobs 4 --retry 3 --path vendor/bundle
- name: rspec
run: |
bundle exec rspec
env:
TEST_UID: ${{ secrets.TEST_UID }}
TEST_PROJECT_ID: ${{ secrets.TEST_PROJECT_ID }}
TEST_WEB_API_KEY: ${{ secrets.TEST_WEB_API_KEY }}
TEST_USER_EMAIL: ${{ secrets.TEST_USER_EMAIL }}
GOOGLE_ACCOUNT_TYPE: ${{ secrets.GOOGLE_ACCOUNT_TYPE }}
GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }}
GOOGLE_CLIENT_EMAIL: ${{ secrets.GOOGLE_CLIENT_EMAIL }}
GOOGLE_PRIVATE_KEY: ${{ secrets.GOOGLE_PRIVATE_KEY }}
- name: slack notification
uses: 8398a7/action-slack@v3
if: always()
with:
status: ${{ job.status }}
author_name: 'github action firebase_token_auth build'
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}