diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index f4b17b4117a44..8e7551fa7738a 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -65,7 +65,7 @@ jobs: SPARK_LOCAL_IP: localhost steps: - name: Checkout Spark repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # In order to get diff files with: fetch-depth: 0 @@ -95,7 +95,7 @@ jobs: key: tpcds-${{ hashFiles('.github/workflows/benchmark.yml', 'sql/core/src/test/scala/org/apache/spark/sql/TPCDSSchema.scala') }} - name: Checkout tpcds-kit repository if: steps.cache-tpcds-sf-1.outputs.cache-hit != 'true' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: databricks/tpcds-kit ref: 2a5078a782192ddb6efbcead8de9973d6ab4f069 @@ -134,7 +134,7 @@ jobs: SPARK_TPCDS_DATA: ${{ github.workspace }}/tpcds-sf-1 steps: - name: Checkout Spark repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # In order to get diff files with: fetch-depth: 0 diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 1e28f5530513a..897d7a68d8a9b 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -64,7 +64,7 @@ jobs: }} steps: - name: Checkout Spark repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 repository: apache/spark @@ -202,7 +202,7 @@ jobs: SKIP_PACKAGING: true steps: - name: Checkout Spark repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # In order to fetch changed files with: fetch-depth: 0 @@ -302,7 +302,7 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Checkout Spark repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # In order to fetch changed files with: fetch-depth: 0 @@ -381,7 +381,7 @@ jobs: BRANCH: ${{ inputs.branch }} steps: - name: Checkout Spark repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # In order to fetch changed files with: fetch-depth: 0 @@ -496,7 +496,7 @@ jobs: SKIP_PACKAGING: true steps: - name: Checkout Spark repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # In order to fetch changed files with: fetch-depth: 0 @@ -564,7 +564,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout Spark repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 repository: apache/spark @@ -604,7 +604,7 @@ jobs: image: ${{ needs.precondition.outputs.image_url }} steps: - name: Checkout Spark repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 repository: apache/spark @@ -786,7 +786,7 @@ jobs: timeout-minutes: 300 steps: - name: Checkout Spark repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 repository: apache/spark @@ -841,7 +841,7 @@ jobs: SPARK_LOCAL_IP: localhost steps: - name: Checkout Spark repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 repository: apache/spark @@ -883,7 +883,7 @@ jobs: key: tpcds-${{ hashFiles('.github/workflows/build_and_test.yml', 'sql/core/src/test/scala/org/apache/spark/sql/TPCDSSchema.scala') }} - name: Checkout tpcds-kit repository if: steps.cache-tpcds-sf-1.outputs.cache-hit != 'true' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: databricks/tpcds-kit ref: 2a5078a782192ddb6efbcead8de9973d6ab4f069 @@ -946,7 +946,7 @@ jobs: SKIP_PACKAGING: true steps: - name: Checkout Spark repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 repository: apache/spark @@ -1006,7 +1006,7 @@ jobs: timeout-minutes: 300 steps: - name: Checkout Spark repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 repository: apache/spark diff --git a/.github/workflows/build_infra_images_cache.yml b/.github/workflows/build_infra_images_cache.yml index b8aae945599de..3e0258830848c 100644 --- a/.github/workflows/build_infra_images_cache.yml +++ b/.github/workflows/build_infra_images_cache.yml @@ -38,7 +38,7 @@ jobs: packages: write steps: - name: Checkout Spark repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up QEMU uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx diff --git a/.github/workflows/maven_test.yml b/.github/workflows/maven_test.yml index 169def690ae49..6d2c25f07708b 100644 --- a/.github/workflows/maven_test.yml +++ b/.github/workflows/maven_test.yml @@ -115,7 +115,7 @@ jobs: GITHUB_PREV_SHA: ${{ github.event.before }} steps: - name: Checkout Spark repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # In order to fetch changed files with: fetch-depth: 0 diff --git a/.github/workflows/publish_snapshot.yml b/.github/workflows/publish_snapshot.yml index c78b633a980c5..9ea214e5be8d7 100644 --- a/.github/workflows/publish_snapshot.yml +++ b/.github/workflows/publish_snapshot.yml @@ -41,7 +41,7 @@ jobs: branch: ${{ fromJSON( inputs.branch || '["master", "branch-3.5", "branch-3.4", "branch-3.3"]' ) }} steps: - name: Checkout Spark repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ matrix.branch }} - name: Cache Maven local repository