From c6fdb9a230d0a9fa585134e7463c5b724658cb9f Mon Sep 17 00:00:00 2001 From: mmeest Date: Tue, 19 Aug 2025 13:34:03 +0300 Subject: [PATCH 1/3] initial --- .github/workflows/ruby.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 2a526f7..e57001b 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -20,8 +20,12 @@ jobs: runs-on: ${{ matrix.os }} continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }} + permissions: + contents: read + id-token: write # Required for OIDC + steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v5 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} @@ -44,7 +48,6 @@ jobs: RAILS_ENV: test COVERAGE: true DISABLE_SPRING: 1 - CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} run: | cp config/application.yml.example config/application.yml cp config/database_ci.yml config/database.yml @@ -55,7 +58,12 @@ jobs: bundle exec rails assets:precompile bundle exec rspec spec + # Upload coverage to Qlty + - uses: qltysh/qlty-action/coverage@v2 + with: + oidc: true + files: coverage/lcov.info + - name: Dependabot if: ${{ github.event.label.name == 'dependencies' }} run: bundle exec rails assets:precompile - From c5aa9b0d61e989907cf44ddf0e614e49bd00f280 Mon Sep 17 00:00:00 2001 From: mmeest Date: Tue, 19 Aug 2025 13:51:25 +0300 Subject: [PATCH 2/3] removed ports --- .github/workflows/ruby.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index e57001b..e8e2278 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -6,7 +6,6 @@ jobs: services: postgres: image: postgres:15 - ports: ["5432:5432"] env: POSTGRES_PASSWORD: password POSTGRES_USERNAME: postgres From 68321ef0371ca89b2a2a3ffd186bf0991842f972 Mon Sep 17 00:00:00 2001 From: mmeest Date: Tue, 19 Aug 2025 14:07:17 +0300 Subject: [PATCH 3/3] new ubuntu version for testin --- .github/workflows/ruby.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index e8e2278..3dbf4fe 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -6,6 +6,7 @@ jobs: services: postgres: image: postgres:15 + ports: ["5432:5432"] env: POSTGRES_PASSWORD: password POSTGRES_USERNAME: postgres @@ -14,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-20.04] + os: [ubuntu-24.04] ruby: [ '3.2.0' ] runs-on: ${{ matrix.os }} continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}