Use latest golangci-lint in Dagger lint (v2.12.0 checksum is broken)
Some checks are pending
CI / ci (push) Waiting to run
Some checks are pending
CI / ci (push) Waiting to run
This commit is contained in:
parent
9271578646
commit
fe4b32b902
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ func (m *Quintodrome) LintGo(ctx context.Context, src *dagger.Directory) error {
|
||||||
_, err := goContainer().
|
_, err := goContainer().
|
||||||
WithDirectory("/repo", src).
|
WithDirectory("/repo", src).
|
||||||
WithWorkdir("/repo").
|
WithWorkdir("/repo").
|
||||||
WithExec([]string{"sh", "-c", "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /usr/local/bin v2.12.0"}).
|
WithExec([]string{"sh", "-c", "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /usr/local/bin"}).
|
||||||
WithExec([]string{"golangci-lint", "run", "--timeout", "2m"}).
|
WithExec([]string{"golangci-lint", "run", "--timeout", "2m"}).
|
||||||
Sync(ctx)
|
Sync(ctx)
|
||||||
return err
|
return err
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue