From 76b3b83d0780c43f40457d9ccab6255a5a02ba1f Mon Sep 17 00:00:00 2001 From: Patrice Ferlet Date: Sun, 3 Aug 2025 15:59:00 +0200 Subject: [PATCH] feat(workflow): change when to make CI We will abandon develop branch for a while. It's better to work with feature branches. --- .github/workflows/go-test.yaml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/go-test.yaml b/.github/workflows/go-test.yaml index dc99fbf..19b5a12 100644 --- a/.github/workflows/go-test.yaml +++ b/.github/workflows/go-test.yaml @@ -4,13 +4,13 @@ on: pull_request: types: [opened, synchronize, reopened] branches: - - develop + - master + - main push: branches: - master - main - - develop - - 'releases/**' + - "releases/**" jobs: tests: runs-on: ubuntu-latest @@ -37,12 +37,12 @@ jobs: runs-on: ubuntu-latest needs: tests steps: - - uses: actions/checkout@v4 - - uses: actions/download-artifact@v4 - with: - name: tests-results - - name: SonarQube Scan - uses: SonarSource/sonarqube-scan-action@v5.2.0 - env: - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - SONAR_HOST_URL: ${{ vars.SONAR_HOST_URL }} + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 + with: + name: tests-results + - name: SonarQube Scan + uses: SonarSource/sonarqube-scan-action@v5.2.0 + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + SONAR_HOST_URL: ${{ vars.SONAR_HOST_URL }}