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 }}