diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index f94fb108b..da4132be3 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Install Redis run: | @@ -33,7 +33,7 @@ jobs: run: redis-cli ping - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: 'lts/*' cache: 'npm' @@ -58,7 +58,7 @@ jobs: - name: Store assets if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/development' || github.ref == 'refs/heads/main') }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: assets path: umd/ @@ -80,7 +80,7 @@ jobs: steps: - name: Download assets - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v6 with: name: assets path: umd @@ -119,7 +119,7 @@ jobs: steps: - name: Download assets - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v6 with: name: assets path: umd diff --git a/.github/workflows/sonar-scan.yml b/.github/workflows/sonar-scan.yml index e19a6b957..abb04e2b0 100644 --- a/.github/workflows/sonar-scan.yml +++ b/.github/workflows/sonar-scan.yml @@ -15,12 +15,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 - name: Set up Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: 'lts/*' cache: 'npm' @@ -36,7 +36,7 @@ jobs: - name: SonarQube Scan (Push) if: github.event_name == 'push' - uses: SonarSource/sonarcloud-github-action@v1.6 + uses: SonarSource/sonarqube-scan-action@v6 env: SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }} with: @@ -47,9 +47,10 @@ jobs: -Dsonar.projectKey=${{ github.event.repository.name }} -Dsonar.links.ci="https://github.com/splitio/${{ github.event.repository.name }}/actions" -Dsonar.links.scm="https://github.com/splitio/${{ github.event.repository.name }}" + - name: SonarQube Scan (Pull Request) if: github.event_name == 'pull_request' - uses: SonarSource/sonarcloud-github-action@v1.6 + uses: SonarSource/sonarqube-scan-action@v6 env: SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }} with: