change docs to use .env instead of local.env #33
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: Run linter | |
on: | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
container: | |
image: ruby:3.1.4 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Gem cache | |
id: cache-bundle | |
uses: actions/cache@v1 | |
with: | |
path: vendor/bundle | |
key: bundle-${{ hashFiles('**/Gemfile.lock') }} | |
- name: bundler | |
env: | |
RAILS_ENV: test | |
run: | | |
gem install bundler | |
bundle config set path 'vendor/bundle' | |
bundle install --jobs 4 --retry 3 | |
- name: lint | |
run: bundle exec rubocop |