diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86ca0a03..c0af6bba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: pre_commit: runs-on: ubuntu-latest steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@v1.35.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@v7.0.0 veracode_sca: name: "Veracode - Source Clear Scan (SCA)" @@ -34,12 +34,12 @@ jobs: github.ref_name == 'master' || github.event_name == 'pull_request' steps: - - uses: actions/checkout@v3 - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.34.0 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.34.0 + - uses: actions/checkout@v4 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.0.0 - name: "Clean-up SNAPSHOT artifacts" run: find "${HOME}/.m2/repository/" -type d -name "*-SNAPSHOT*" | xargs -r -l rm -rf - - uses: Alfresco/alfresco-build-tools/.github/actions/veracode@v1.34.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/veracode@v7.0.0 continue-on-error: true with: srcclr-api-token: ${{ secrets.SRCCLR_API_TOKEN }} @@ -53,8 +53,8 @@ jobs: MAVEN_CLI_OPTS: > -B -q -e -fae -V -DinstallAtEnd=true -U steps: - - uses: actions/checkout@v3 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.35.0 + - uses: actions/checkout@v4 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.0.0 - name: "Build" run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V - name: "Verify" @@ -134,18 +134,18 @@ jobs: java-version: 11 suite: -Pcommunity-70-tests steps: - - uses: actions/checkout@v3 - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.35.0 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.35.0 + - uses: actions/checkout@v4 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.0.0 with: java-version: ${{ matrix.java-version }} - name: "Login to Docker Hub" - uses: docker/login-action@v2.1.0 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: "Login to Quay.io" - uses: docker/login-action@v2.1.0 + uses: docker/login-action@v3 with: registry: quay.io username: ${{ secrets.QUAY_USERNAME }} @@ -160,9 +160,9 @@ jobs: if: > contains(github.event.head_commit.message, '[publish]') steps: - - uses: actions/checkout@v3 - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.35.0 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.35.0 + - uses: actions/checkout@v4 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v7.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.0.0 - name: "Build" run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V - name: "Publish"