From 1badf682255ed048eecc0e36ce4f6a9e2f520b4b Mon Sep 17 00:00:00 2001 From: Manu Sridharan Date: Mon, 5 Feb 2024 07:37:50 -0800 Subject: [PATCH] Bump various CI workflow versions (#906) To stay up to date and avoid deprecation warnings --- .github/workflows/continuous-integration.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 00c76abe64..6eefa67578 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -35,9 +35,9 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Check out NullAway sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 'Set up JDKs' - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: | 21 @@ -47,17 +47,17 @@ jobs: - name: Build and test using Java ${{ matrix.java }} and Error Prone ${{ matrix.epVersion }} env: ORG_GRADLE_PROJECT_epApiVersion: ${{ matrix.epVersion }} - uses: gradle/gradle-build-action@v2 + uses: gradle/gradle-build-action@v3 with: arguments: build - name: Run shellcheck - uses: gradle/gradle-build-action@v2 + uses: gradle/gradle-build-action@v3 with: arguments: shellcheck if: runner.os == 'Linux' - name: Aggregate jacoco coverage id: jacoco_report - uses: gradle/gradle-build-action@v2 + uses: gradle/gradle-build-action@v3 env: ORG_GRADLE_PROJECT_epApiVersion: ${{ matrix.epVersion }} with: @@ -65,7 +65,7 @@ jobs: continue-on-error: true if: runner.os == 'Linux' && matrix.java == '11' && matrix.epVersion == '2.24.1' && github.repository == 'uber/NullAway' - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: files: ./code-coverage-report/build/reports/jacoco/codeCoverageReport/codeCoverageReport.xml if: steps.jacoco_report.outcome == 'success' @@ -74,7 +74,7 @@ jobs: ORG_GRADLE_PROJECT_epApiVersion: ${{ matrix.epVersion }} ORG_GRADLE_PROJECT_VERSION_NAME: '0.0.0.1-LOCAL' ORG_GRADLE_PROJECT_RELEASE_SIGNING_ENABLED: 'false' - uses: gradle/gradle-build-action@v2 + uses: gradle/gradle-build-action@v3 with: arguments: publishToMavenLocal if: matrix.java == '11' @@ -87,16 +87,16 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 'Set up JDK 11' - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: | 21 11 distribution: 'temurin' - name: 'Publish' - uses: gradle/gradle-build-action@v2 + uses: gradle/gradle-build-action@v3 env: ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }} ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}