From b40c8f341f8ec54f1d210c82a88917a06d892c86 Mon Sep 17 00:00:00 2001 From: mromulus <393247+mromulus@users.noreply.github.com> Date: Tue, 5 Dec 2023 15:19:21 +0200 Subject: [PATCH] Update rubyonrails.yml --- .github/workflows/rubyonrails.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rubyonrails.yml b/.github/workflows/rubyonrails.yml index 2f3d51b8..f848e05f 100644 --- a/.github/workflows/rubyonrails.yml +++ b/.github/workflows/rubyonrails.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest services: postgres: - image: postgres:11-alpine + image: postgres:16-alpine ports: - "5432:5432" env: @@ -33,6 +33,8 @@ jobs: uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0 with: bundler-cache: true + - name: Set version + run: git describe --tags >CURRENT_VERSION # Add or replace database setup steps here - name: Set up database schema run: bin/rails db:schema:load @@ -49,6 +51,8 @@ jobs: uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0 with: bundler-cache: true + - name: Set version + run: git describe --tags >CURRENT_VERSION # Add or replace any other lints here - name: Security audit dependencies run: bin/bundler-audit --update