Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-40859][INFRA] Upgrade action/checkout to v3 to cleanup warning #38322

Closed
wants to merge 1 commit into from

Conversation

Yikun
Copy link
Member

@Yikun Yikun commented Oct 20, 2022

What changes were proposed in this pull request?

Upgrade action/checkout to v3 (point ot v3.1 now).

Why are the changes needed?

According to actions/checkout#959 (comment), v2.5 also address 'set-output' warning, but only v3 support node 16, so we upgrade to v3.1 rather than v2.5

Does this PR introduce any user-facing change?

No, dev only

How was this patch tested?

CI passed

@github-actions github-actions bot added the INFRA label Oct 20, 2022
@@ -37,7 +37,7 @@ jobs:
- branch-3.1
steps:
- name: Checkout Spark repository
uses: actions/checkout@61b9e3751b92087fd0b06925ba6dd6314e06f089 # pin@master
uses: actions/checkout@v3
Copy link
Member Author

@Yikun Yikun Oct 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also take a look on 00b87c9, I think pin SHA is only for 3rd party, but for actions/ I think tag is enough. BTW, the note is already outdate.

@Yikun Yikun marked this pull request as ready for review October 21, 2022 02:35
@Yikun Yikun closed this in 17efe04 Oct 21, 2022
@Yikun
Copy link
Member Author

Yikun commented Oct 21, 2022

@srowen @HyukjinKwon Thanks, merged.

SandishKumarHN pushed a commit to SandishKumarHN/spark that referenced this pull request Dec 12, 2022
### What changes were proposed in this pull request?
Upgrade action/checkout to v3 (point ot v3.1 now).

### Why are the changes needed?
- https://github.com/actions/checkout/releases/tag/v3.1.0 cleanup "[The 'set-output' command is deprecated and will be disabled soon.](actions/checkout#959 (comment))"
- https://github.com/actions/checkout/releases/tag/v3.0.0 since v3, use the node 16 to cleanup "[Node.js 12 actions are deprecated](https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/)"

According to actions/checkout#959 (comment), v2.5 also address 'set-output' warning, but only v3 support node 16, so we upgrade to v3.1 rather than v2.5

### Does this PR introduce _any_ user-facing change?
No, dev only

### How was this patch tested?
CI passed

Closes apache#38322 from Yikun/checkout-v3.

Authored-by: Yikun Jiang <yikunkero@gmail.com>
Signed-off-by: Yikun Jiang <yikunkero@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants