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

Change the order of flags in github actions workflows. #1906

Merged
merged 1 commit into from
Nov 28, 2023
Merged

Change the order of flags in github actions workflows. #1906

merged 1 commit into from
Nov 28, 2023

Conversation

aaomidi
Copy link
Contributor

@aaomidi aaomidi commented Nov 27, 2023

@aaomidi aaomidi marked this pull request as ready for review November 27, 2023 18:54
Copy link
Contributor

@cpu cpu left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thank you

@aaomidi
Copy link
Contributor Author

aaomidi commented Nov 27, 2023

@weppos I think we'll need this PR in soon so we can keep up with the tld-update workflow.

@dnsguru
Copy link
Member

dnsguru commented Nov 27, 2023 via email

@aaomidi
Copy link
Contributor Author

aaomidi commented Nov 27, 2023

I accidentally introduced a bug in #1901 to the github worklow:

run: go test -v -C ./tools .

This caused the last tld-update run to fail: https://github.com/publicsuffix/list/actions/runs/7006982080/job/19060050437

This PR fixes that so we don't have this failure on the next run.

@dnsguru
Copy link
Member

dnsguru commented Nov 27, 2023 via email

@weppos weppos self-assigned this Nov 28, 2023
@@ -18,7 +18,7 @@ jobs:
go-version: 'stable'

- name: Run Go unit tests
run: go test -C ./tools .
run: go test -C ./tools -v .
Copy link
Member

Choose a reason for hiding this comment

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

Out of curiosity, any reason to not have:

Suggested change
run: go test -C ./tools -v .
run: cd ./tools && go test -v ./...

Copy link
Contributor

Choose a reason for hiding this comment

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

Instead of chaining a cd, what about using the working-directory job config element?

Copy link
Contributor Author

@aaomidi aaomidi Nov 28, 2023

Choose a reason for hiding this comment

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

I don't have a strong opinion on how this is done. Up to maintainers to decide this.
I do have a preference for using the tools that Go has built in to the toolchain.

My main opinion is this is currently breaking the pipeline, so either we rollback #1901, or we accept this as is and revisit it if the need arises?

@weppos weppos added the non .dat Change or Coding Review Alteration to code/automation or publicsuffix.org site label Nov 28, 2023
@weppos weppos merged commit 4969251 into publicsuffix:master Nov 28, 2023
1 check passed
@aaomidi aaomidi deleted the flag_fix branch November 28, 2023 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
non .dat Change or Coding Review Alteration to code/automation or publicsuffix.org site
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants