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

ci: shellcheck checks #689

Merged
merged 1 commit into from
May 20, 2024
Merged

ci: shellcheck checks #689

merged 1 commit into from
May 20, 2024

Conversation

storopoli
Copy link
Contributor

Following rust-bitcoin/rust-bitcoin#2762,
adding CI shellcheck cheks here as well.

I also did all fixes that I could find with

shellcheck **/*.sh

If I've missed any please let me know.

Copy link
Member

@tcharding tcharding left a comment

Choose a reason for hiding this comment

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

ACK 982e311

Comment on lines +10 to +11
# can't find the file because of the ENV var
# shellcheck source=/dev/null
Copy link
Member

Choose a reason for hiding this comment

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

Why do you silence this like this man instead of?

# shellcheck disable=SC1090

(I hit the same warning working on rust-bitcoin/rust-secp256k1#699.)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It was the same approach I did in the original rust-bitcoin PR and this is the way to adopt a Exception per the shellcheck wiki: https://www.shellcheck.net/wiki/SC1090

Copy link
Member

Choose a reason for hiding this comment

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

No worries, cheers.

@apoelstra
Copy link
Member

Can you please rebase this? It is currently based on a version of rust-miniscript from February (prior to the rust-bitcoin upgrade) and my local lockfiles have changed a lot since then.

(This should become less of a problem soon once we bring lockfiles into the repo itself.)

@storopoli
Copy link
Contributor Author

@apoelstra done

Copy link
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

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

ACK 926bb05

Copy link
Member

@tcharding tcharding left a comment

Choose a reason for hiding this comment

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

ACK 926bb05

@apoelstra apoelstra merged commit 8dee189 into rust-bitcoin:master May 20, 2024
8 checks passed
@storopoli storopoli deleted the ci/shellcheck branch May 20, 2024 21:20
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.

3 participants