From 282c8b6ba3952d59fb97a8ee6aa58d1261ff9a87 Mon Sep 17 00:00:00 2001 From: Mauricio Astudillo Toledo Date: Tue, 24 Jun 2025 17:23:31 -0400 Subject: [PATCH 1/2] chore: update trigger for sonar flow ci --- .github/workflows/build.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f7bed2b..480bb37 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,10 @@ name: Ruby CI on: + push: + branches: + - master + - develop pull_request: types: [synchronize, opened, reopened] @@ -16,7 +20,7 @@ jobs: - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: '3.1' + ruby-version: "3.1" - name: Install dependencies run: | @@ -24,7 +28,7 @@ jobs: bundle install - name: Run tests - run: bundle exec rake test + run: bundle exec rake test sonar-cloud-check: runs-on: ubuntu-latest @@ -37,7 +41,7 @@ jobs: - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: '3.1' + ruby-version: "3.1" - name: Install dependencies run: | @@ -45,7 +49,7 @@ jobs: bundle install - name: Run tests with coverage - run: bundle exec rake test + run: bundle exec rake test - name: SonarQube Scan uses: sonarsource/sonarqube-scan-action@master From f8e10aaec1fa19284d0ebbfcfb457c92d9eb2d8b Mon Sep 17 00:00:00 2001 From: Mauricio Astudillo Toledo Date: Tue, 24 Jun 2025 17:30:14 -0400 Subject: [PATCH 2/2] chore: remove redundant job --- .github/workflows/build.yml | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 480bb37..e30fdca 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,27 +9,6 @@ on: types: [synchronize, opened, reopened] jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: "3.1" - - - name: Install dependencies - run: | - gem install bundler - bundle install - - - name: Run tests - run: bundle exec rake test - sonar-cloud-check: runs-on: ubuntu-latest