Skip to content

Conversation

@jakepetroules
Copy link
Contributor

This applies the changes previously made swift_package_test to the soundness checks.

This applies the changes previously made swift_package_test to the soundness checks.
@jakepetroules jakepetroules requested a review from a team as a code owner November 6, 2025 04:18
Copy link
Member

@ahoppen ahoppen left a comment

Choose a reason for hiding this comment

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

Would it make sense to extract these steps to checkout the github-workflows repository to a reusable workflow?

run: |
which curl yq || (apt -q update && apt -yq install curl yq)
curl -s --retry 3 https://raw.githubusercontent.com/swiftlang/github-workflows/refs/heads/main/.github/workflows/scripts/check-docs.sh | bash
cat ${{ steps.script_path.outputs.root }}/.github/workflows/scripts/check-docs.sh | bash
Copy link
Member

Choose a reason for hiding this comment

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

Can’t this just be

Suggested change
cat ${{ steps.script_path.outputs.root }}/.github/workflows/scripts/check-docs.sh | bash
bash ${{ steps.script_path.outputs.root }}/.github/workflows/scripts/check-docs.sh

Same for the other cases where you pipe to bash.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Maybe, but I'm following the pattern set by the first PR. After it's all landed we could explore refactoring it further. I just want to get it working first.

Copy link
Member

Choose a reason for hiding this comment

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

OK, good with me, same for trying to share steps using a reusable workflow.

@jakepetroules
Copy link
Contributor Author

Would it make sense to extract these steps to checkout the github-workflows repository to a reusable workflow?

I'd like to get it all landed first, then explore refactoring afterwards.

@jakepetroules
Copy link
Contributor Author

Failures are just network flakiness.

@justice-adams-apple justice-adams-apple merged commit dfa66da into swiftlang:main Nov 7, 2025
203 of 206 checks passed
@jakepetroules jakepetroules deleted the eng/PR-localize-scripts-soundness branch November 7, 2025 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants