From 992783c0f7ce41599caa7a017677ff7850035e18 Mon Sep 17 00:00:00 2001 From: Matteo Rossi Date: Sat, 8 Nov 2025 10:07:50 +0100 Subject: [PATCH 1/2] fix(ci): replace dismissed cc reported with qlty --- .github/workflows/release.yml | 4 ++-- .github/workflows/test.yml | 16 +++++++--------- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 15676b8..ed5a509 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: test: uses: ./.github/workflows/test.yml secrets: - CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}} + QLTY_COVERAGE_TOKEN: ${{secrets.QLTY_COVERAGE_TOKEN}} release-please: needs: - lint @@ -47,7 +47,7 @@ jobs: - uses: ruby/setup-ruby@v1 with: bundler-cache: true - ruby-version: 2.7.0 + ruby-version: 3.4 if: ${{steps.release.outputs.release_created}} - run: bundle install if: ${{steps.release.outputs.release_created}} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 546eec0..b79ef98 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,7 @@ on: - synchronize workflow_call: secrets: - CC_TEST_REPORTER_ID: + QLTY_COVERAGE_TOKEN: required: true jobs: @@ -18,7 +18,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: [2.5, 2.6, 2.7, '3.0', 3.1, 3.2, 3.3, head] + ruby: [2.5, 2.6, 2.7, "3.0", 3.1, 3.2, 3.3, 3.4, head] steps: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 @@ -34,12 +34,10 @@ jobs: - uses: ruby/setup-ruby@v1 with: bundler-cache: true - ruby-version: 3.2 + ruby-version: 3.4 - run: bundle install - - name: Test & publish code coverage - uses: paambaati/codeclimate-action@v6.0.0 - env: - CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}} + - run: bundle exec rake + - uses: qltysh/qlty-action/coverage@v2 with: - coverageCommand: bundle exec rake - debug: true + token: ${{secrets.QLTY_COVERAGE_TOKEN}} + files: coverage/.resultset.json From 360455d772af4cddbd6a88a91df0f659e0066bea Mon Sep 17 00:00:00 2001 From: Matteo Rossi Date: Sat, 8 Nov 2025 10:09:12 +0100 Subject: [PATCH 2/2] fix(docs): update qlty badges from readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1e6b3e2..136843b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # ItaxCode -[![Gem Version](https://badge.fury.io/rb/itax_code.svg)](https://badge.fury.io/rb/itax_code) [![Maintainability](https://api.codeclimate.com/v1/badges/6ce5347018f4b448098f/maintainability)](https://codeclimate.com/github/matteoredz/itax-code/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/6ce5347018f4b448098f/test_coverage)](https://codeclimate.com/github/matteoredz/itax-code/test_coverage) +[![Gem Version](https://badge.fury.io/rb/itax_code.svg)](https://badge.fury.io/rb/itax_code) [![Maintainability](https://qlty.sh/gh/matteoredz/projects/itax-code/maintainability.svg)](https://qlty.sh/gh/matteoredz/projects/itax-code) [![Code Coverage](https://qlty.sh/gh/matteoredz/projects/itax-code/coverage.svg)](https://qlty.sh/gh/matteoredz/projects/itax-code) A Ruby Gem to encode, decode, and validate the Italian Tax Code (Fiscal Code, Codice Fiscale), dealing with [Omocodia](https://it.wikipedia.org/wiki/Omocodia) too.