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