Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
richardhallett committed May 3, 2023
1 parent 6baa20c commit 0632411
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ jobs:
JWT_PRIVATE_KEY: ${{ secrets.JWT_PRIVATE_KEY }}
JWT_PUBLIC_KEY: ${{ secrets.JWT_PUBLIC_KEY }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Ruby 2.6
uses: actions/setup-ruby@v1
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.6.x'
ruby-version: 2.6
- uses: actions/cache@v2
with:
path: vendor/bundle
Expand All @@ -69,14 +69,14 @@ jobs:
${{ runner.os }}-gems-
- name: Install
env:
MYSQL_PORT: ${{ job.services.mysql.ports[3306] }}
MYSQL_PORT: ${{ job.services.mysql.ports[3306] }}
run: |
cp .env.build .env
gem install bundler
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
# sudo /etc/init.d/mysql start
bundle exec rails db:setup RAILS_ENV=test
bundle exec rails db:setup RAILS_ENV=test
- name: Lint and Test
env:
MYSQL_PORT: ${{ job.services.mysql.ports[3306] }}
Expand All @@ -89,4 +89,4 @@ jobs:
run: |
bundle exec rubocop
bundle exec rspec
echo $?
echo $?

0 comments on commit 0632411

Please sign in to comment.