Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

Commit

Permalink
fix: specify correct ruby version
Browse files Browse the repository at this point in the history
  • Loading branch information
Jedrzej Ginter committed Mar 24, 2021
1 parent 63e4cf1 commit dad44f1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci-tests-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI tests-api
on:
push:
branches:
- '**'
- "**"
tags-ignore:
- '**'
- "**"
jobs:
test:
runs-on: ubuntu-18.04
Expand All @@ -14,25 +14,25 @@ jobs:
image: postgres:12.2-alpine
env:
POSTGRES_PASSWORD: password
ports: ['5432:5432']
ports: ["5432:5432"]
options: >-
--health-cmd pg_isready
--health-interval 10ms
--health-timeout 500ms
--health-retries 15
redis:
image: redis:5
ports: ['6379:6379']
ports: ["6379:6379"]
options: --entrypoint redis-server

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Ruby
uses: actions/setup-ruby@v1
with:
ruby-version: 2.7
ruby-version: "2.7.1"

- name: Ruby gem cache
uses: actions/cache@v1
Expand All @@ -58,7 +58,7 @@ jobs:
cd tests-api
bundle exec bundler-audit --update
bundle exec brakeman -q -w2
- name: Build and run tests
env:
DATABASE_URL: postgres://postgres:password@localhost:5432/ci_tests_api
Expand Down

0 comments on commit dad44f1

Please sign in to comment.