chore(deps): update dependency dotenv-rails to v2.8.1 #1161
Workflow file for this run
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: Challenging Rails | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
ci: | |
name: Challenging Rails | |
runs-on: ubuntu-22.04 | |
services: | |
postgres: | |
image: postgres:16.2 | |
ports: | |
- 5432:5432 | |
env: | |
POSTGRES_USER: postgres_user | |
POSTGRES_PASSWORD: postgres_password | |
options: >- | |
--health-cmd pg_isready | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
env: | |
CI: true | |
RAILS_ENV: test | |
POSTGRES_HOST_TEST: localhost | |
POSTGRES_PORT_TEST: 5432 | |
POSTGRES_USERNAME_TEST: postgres_user | |
POSTGRES_PASSWORD_TEST: postgres_password | |
steps: | |
- name: コードをチェックアウトする | |
uses: actions/checkout@v4 | |
- name: 必要なパッケージをインストールする | |
run: | | |
sudo apt install fonts-migmix | |
- name: Ruby のセットアップを行う | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: .ruby-version | |
bundler-cache: true | |
- name: (予定地)Node.js のセットアップを行う | |
run: | | |
echo '(予定地)Node.js のセットアップを行う' | |
- name: データベースをセットアップする | |
run: | | |
bin/rails db:prepare | |
- name: RSpec を実行する | |
run: | | |
bundle exec rspec | |
- name: tmp/screenshots のアーティファクトをアップロードする | |
uses: actions/upload-artifact@v4 | |
with: | |
name: screenshots | |
path: tmp/screenshots | |
- name: tmp/capybara のアーティファクトをアップロードする | |
uses: actions/upload-artifact@v4 | |
with: | |
name: capybara | |
path: tmp/capybara |