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

Cirrus CI #1

Open
JeremyRand opened this issue Jan 23, 2022 · 9 comments
Open

Cirrus CI #1

JeremyRand opened this issue Jan 23, 2022 · 9 comments
Assignees

Comments

@JeremyRand
Copy link
Member

Namecoin's workflow requires Cirrus CI to be enabled (e.g. for static analysis, binary uploads, etc.). Can you copy the Cirrus config from one of Namecoin's repos? Basically copy .cirrus.yml, .golangci.yml, and the testdata folder from ncdns, and remove the go generate stuff that doesn't apply here.

@hlandau hlandau self-assigned this Jan 24, 2022
@hlandau
Copy link
Member

hlandau commented Feb 2, 2022

@JeremyRand
Copy link
Member Author

4d3a967#diff-62587956f943bb2503db7bc6dd27d0d888074a1c0ecaab3f570ad611aff0f7bbR29

I think we can remove certinject and x509-compressed from this list? Ditto for anywhere else those two repos are mentioned in the Cirrus config.

@hlandau
Copy link
Member

hlandau commented Mar 12, 2022

@JeremyRand Updated.

@JeremyRand
Copy link
Member Author

Can you copy in the golangci config from ncdns (removing the x509-compressed reference)? That should get the linter to be a lot happier.

@JeremyRand
Copy link
Member Author

Also, can you fix the three style issues reported by ifshort? https://github.com/hlandau/winsvcwrap/runs/5521920497

@JeremyRand
Copy link
Member Author

Also please add the stylistic whitespace requested by the wsl linter: https://github.com/hlandau/winsvcwrap/runs/5521920504

@hlandau
Copy link
Member

hlandau commented Mar 19, 2022

Can you copy in the golangci config from ncdns (removing the x509-compressed reference)? That should get the linter to be a lot happier.
Done.
variable 'err' is only used in the if-statement (main.go:81:2); consider using short syntax (ifshort)
Not a bug.
Also please add the stylistic whitespace requested by the wsl linter: https://github.com/hlandau/winsvcwrap/runs/5521920504
These are all BS.

@JeremyRand
Copy link
Member Author

Alright, can you add ifshort to the disable list at https://github.com/hlandau/winsvcwrap/blob/fbfe43042e647418e4dec1256c7b215edd32af6c/.cirrus.yml#L41 so that Cirrus doesn't complain about it?

@hlandau
Copy link
Member

hlandau commented Mar 25, 2022

@JeremyRand Done.

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

No branches or pull requests

2 participants