From 8113adc175252cb00bb7866c17e1d44aae34e2a0 Mon Sep 17 00:00:00 2001 From: Stephanie Wilkinson Date: Fri, 26 Jan 2024 11:17:06 -0800 Subject: [PATCH] remove postgres db from github actions yml --- .github/workflows/ruby.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 30dc6cd..b731783 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -21,16 +21,6 @@ jobs: runs-on: ubuntu-latest - services: - postgres: - image: postgres:latest - env: - POSTGRES_USER: postgres - POSTGRES_PASSWORD: postgres - POSTGRES_DB: yonderbook_test - ports: - - 5432/tcp - strategy: matrix: ruby-version: ['3.2.2'] @@ -38,10 +28,8 @@ jobs: steps: - uses: actions/checkout@v3 - name: Set up Ruby - # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby, - # change this to (see https://github.com/ruby/setup-ruby#versioning): - # uses: ruby/setup-ruby@v1 - uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0 + + uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true # runs 'bundle install' and caches installed gems automatically