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: pin shfmt to v3.2.0 #2671

Merged
merged 1 commit into from
Nov 6, 2020
Merged

Conversation

kolyshkin
Copy link
Contributor

We had to use shfmt from git master/HEAD in commit 069fddf as at the
time there was no released/tagged version that supports bats syntax.

Now there is (https://github.com/mvdan/sh/releases/tag/v3.2.0),
so let's pin it to avoid sudden regressions caused by changes in master
branch.

AkihiroSuda
AkihiroSuda previously approved these changes Nov 4, 2020
mrunalp
mrunalp previously approved these changes Nov 4, 2020
@mrunalp
Copy link
Contributor

mrunalp commented Nov 4, 2020

nit: commit title ping -> pin

AkihiroSuda
AkihiroSuda previously approved these changes Nov 4, 2020
@AkihiroSuda AkihiroSuda changed the title ci: ping shfmt to v3.2.0 ci: pin shfmt to v3.2.0 Nov 4, 2020
mrunalp
mrunalp previously approved these changes Nov 4, 2020
mrunalp
mrunalp previously approved these changes Nov 4, 2020
@kolyshkin kolyshkin marked this pull request as draft November 5, 2020 03:25
We had to use shfmt from git master/HEAD in commit 069fddf as at the
time there was no released/tagged version that supports bats syntax.

Now there is (https://github.com/mvdan/sh/releases/tag/v3.2.0),
so let's pin it to avoid sudden regressions caused by changes in master
branch.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
@kolyshkin
Copy link
Contributor Author

@mrunalp @AkihiroSuda PTAL

Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

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

LGTM. I'm not a huge fan of cd ~ && GO111MODULE=on stuff, but I can't come up with a better alternative.

@kolyshkin
Copy link
Contributor Author

LGTM. I'm not a huge fan of cd ~ && GO111MODULE=on stuff, but I can't come up with a better alternative.

Me neither :( this is just a peculiarity of golang, and I hate to do something like git clone $URL && git reset $ID && go install instead

@mrunalp mrunalp merged commit 60b2a47 into opencontainers:master Nov 6, 2020
@kolyshkin kolyshkin mentioned this pull request Jan 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants