feat: πΈ γγΌγΈγ§γ³ηͺε·γ v1.0.0 γ«γγ (#177) #295
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
on: [push] | |
name: Prekin | |
jobs: | |
prekin_github_actions: | |
name: Prekin CI | |
runs-on: ubuntu-latest | |
container: | |
image: ruby:3.2.2 | |
env: | |
BUNDLE_PATH: vendor/bundle | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install the latest version's Bundler | |
run: | | |
gem install bundler --no-document | |
- name: Restore caches of RubyGems | |
uses: actions/cache@v3 | |
id: rubygems-cache | |
with: | |
path: vendor/bundle | |
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }} | |
restore-keys: | | |
${{ runner.os }}-gem- | |
- name: $ bundle install γθ‘γ | |
run: | | |
bundle config set deployment 'true' | |
bundle install --jobs 4 --retry 3 | |
- name: Execute RSpec | |
if: always() | |
run: | | |
bundle exec rspec | |
env: | |
POSTGRES_HOST: postgres | |
RAILS_ENV: test | |
- name: Execute RuboCop | |
if: always() | |
run: | | |
bundle exec rubocop -D -E -S -P |