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

Fix the GitLab CI #1161

Merged
merged 3 commits into from Apr 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Expand Up @@ -11,7 +11,7 @@ jobs:
name: System information
command: 'echo "Golang $(go version)"'
- run: 'curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh| sh -s -- -b $(go env GOPATH)/bin'
- run: '( cd linters && go get golang.org/x/lint/golint )'
- run: go install golang.org/x/lint/golint@latest
- run:
command: |-
set +o pipefail
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reviewdog.yml
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v3

- name: Install linters
run: '( cd linters && go get golang.org/x/lint/golint )'
run: go install golang.org/x/lint/golint@latest

- name: Setup reviewdog
# uses: reviewdog/action-setup@v1
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
run: go mod download

- name: Install linters
run: '( cd linters && go get golang.org/x/lint/golint )'
run: go install golang.org/x/lint/golint@latest

- name: Setup reviewdog
# uses: reviewdog/action-setup@v1
Expand Down
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Expand Up @@ -38,7 +38,7 @@ Reviewdog:
- export GOPATH=${CI_PROJECT_DIR}/.cache
- export PATH=$PATH:$GOPATH/bin
- go install ./cmd/reviewdog
- ( cd linters && go get golang.org/x/lint/golint )
- go install golang.org/x/lint/golint@latest
script:
- golint ./... | reviewdog -f=golint -name=golint-discussion -reporter=gitlab-mr-discussion -filter-mode=nofilter
- golint ./... | reviewdog -f=golint -name=golint-commit -reporter=gitlab-mr-commit
Expand Down
3 changes: 0 additions & 3 deletions linters/README.md

This file was deleted.

3 changes: 0 additions & 3 deletions linters/go.mod

This file was deleted.

Empty file removed linters/go.sum
Empty file.