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] Golangci-lint always failed and block the master branch #1005

Closed
RobertIndie opened this issue Apr 10, 2023 · 1 comment · Fixed by #1007
Closed

[CI] Golangci-lint always failed and block the master branch #1005

RobertIndie opened this issue Apr 10, 2023 · 1 comment · Fixed by #1007
Assignees

Comments

@RobertIndie
Copy link
Member

The golangci-lint always failed with the following log:

2023-04-10T12:04:03.2624074Z ##[group]Run golangci/golangci-lint-action@v3
2023-04-10T12:04:03.2624590Z with:
2023-04-10T12:04:03.2624835Z   version: v1.50.1
2023-04-10T12:04:03.2625462Z   github-token: ***
2023-04-10T12:04:03.2625807Z   only-new-issues: false
2023-04-10T12:04:03.2626098Z   skip-cache: false
2023-04-10T12:04:03.2626431Z   skip-pkg-cache: false
2023-04-10T12:04:03.2626784Z   skip-build-cache: false
2023-04-10T12:04:03.2627108Z ##[endgroup]
2023-04-10T12:04:03.4373345Z ##[group]prepare environment
2023-04-10T12:04:03.4383156Z Checking for go.mod: go.mod
2023-04-10T12:04:03.4470228Z Finding needed golangci-lint version...
2023-04-10T12:04:03.4470848Z Installing golangci-lint v1.50.1...
2023-04-10T12:04:03.4471712Z Downloading https://github.com/golangci/golangci-lint/releases/download/v1.50.1/golangci-lint-1.50.1-linux-amd64.tar.gz ...
2023-04-10T12:04:03.6553301Z Cache not found for input keys: golangci-lint.cache-2779-1638c36cade87c81ee880ccc59e1db568edee554, golangci-lint.cache-2779-
2023-04-10T12:04:03.7869680Z [command]/usr/bin/tar xz --overwrite --warning=no-unknown-keyword --overwrite -C /home/runner -f /home/runner/work/_temp/0b6fff89-3882-4e7f-9bdd-e1587d92a863
2023-04-10T12:04:03.9943763Z Installed golangci-lint into /home/runner/golangci-lint-1.50.1-linux-amd64/golangci-lint in 542ms
2023-04-10T12:04:03.9944398Z Prepared env in 550ms
2023-04-10T12:04:03.9945885Z ##[endgroup]
2023-04-10T12:04:03.9946883Z ##[group]run golangci-lint
2023-04-10T12:04:03.9948238Z Running [/home/runner/golangci-lint-1.50.1-linux-amd64/golangci-lint run --out-format=github-actions] in [] ...

More detail here

This is blocking the master branch currently.

@tisonkun tisonkun self-assigned this Apr 10, 2023
@tisonkun
Copy link
Member

I'm looking into this issue.

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 a pull request may close this issue.

2 participants