Skip to content

Commit

Permalink
Merge pull request #1161 from reviewdog/fix-gitlab-ci
Browse files Browse the repository at this point in the history
Fix the GitLab CI
  • Loading branch information
haya14busa committed Apr 20, 2022
2 parents 9437455 + 0384510 commit 01b106b
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 10 deletions.
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.

0 comments on commit 01b106b

Please sign in to comment.