Skip to content

Commit

Permalink
[SPARK-35413][INFRA] Use the SHA of the latest commit when checking o…
Browse files Browse the repository at this point in the history
…ut databricks/tpcds-kit

### What changes were proposed in this pull request?

This PR proposes to use the SHA of the latest commit ([2a5078a782192ddb6efbcead8de9973d6ab4f069](databricks/tpcds-kit@2a5078a)) when checking out `databricks/tpcds-kit`. This can prevent the test workflow from breaking accidentally if the repository changes drastically.

### Why are the changes needed?

For better test workflow.

### Does this PR introduce _any_ user-facing change?

No, dev-only.

### How was this patch tested?

GA passed.

Closes #32561 from maropu/UseRefInCheckout.

Authored-by: Takeshi Yamamuro <[email protected]>
Signed-off-by: Takeshi Yamamuro <[email protected]>
(cherry picked from commit 2390b9d)
Signed-off-by: Takeshi Yamamuro <[email protected]>
  • Loading branch information
maropu committed May 17, 2021
1 parent d160cd2 commit 8ebc1d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@ jobs:
uses: actions/checkout@v2
with:
repository: databricks/tpcds-kit
ref: 2a5078a782192ddb6efbcead8de9973d6ab4f069
path: ./tpcds-kit
- name: Build tpcds-kit
if: steps.cache-tpcds-sf-1.outputs.cache-hit != 'true'
Expand Down

0 comments on commit 8ebc1d3

Please sign in to comment.