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

refactor: lint and test workflows #973

Merged
merged 6 commits into from
Mar 6, 2024
Merged

refactor: lint and test workflows #973

merged 6 commits into from
Mar 6, 2024

Conversation

lufia
Copy link
Member

@lufia lufia commented Feb 26, 2024

I changed these jobs:

  • lint, conversion: split away from test-linux
  • merge test-linux and test-windows into test
  • use reusable workflow

@lufia lufia force-pushed the refactor-wf branch 3 times, most recently from 0add427 to d2cfbdf Compare February 26, 2024 10:46
For instance, `echo xx"$(wc -l </dev/null)"xx` outputs
* on linux runners: xx0xx
* on macos runners: xx        0xx

Therefore we shouldn't compare output of `wc -l` to 0 by string equal operator(=).
@lufia lufia force-pushed the refactor-wf branch 2 times, most recently from c7e36ea to 1c36516 Compare February 26, 2024 11:52
gofmt formats all CRLF to LF in *.go files.
it results failure of convention job on GitHub Actions,
especially on windows host runners.
Comment on lines -54 to -55
run: |
go test -short ./...
Copy link
Member Author

Choose a reason for hiding this comment

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

-short no longer reduce anything

#972

Copy link
Member

@ne-sachirou ne-sachirou left a comment

Choose a reason for hiding this comment

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

🙆‍♀️

@lufia lufia merged commit 10cd478 into master Mar 6, 2024
18 checks passed
@lufia lufia deleted the refactor-wf branch March 6, 2024 05:42
This was referenced Mar 19, 2024
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.

2 participants