-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
29c0dc7
commit a4d287f
Showing
1 changed file
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,16 +44,16 @@ jobs: | |
- name: running tidy | ||
run: go mod init github.com/charan-happy/MyApp/go-app | ||
|
||
- name: Install golangci-lint | ||
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest | ||
env: | ||
GOBIN: /go/bin | ||
PATH: /go/bin:${{ env.PATH }} | ||
working-directory: ./go-app | ||
# - name: Install golangci-lint | ||
# run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest | ||
# env: | ||
# GOBIN: /go/bin | ||
#PATH: /go/bin:${{ env.PATH }} | ||
#working-directory: ./go-app | ||
|
||
- name: Run Linter | ||
run: golangci-lint run | ||
working-directory: ./go-app | ||
#- name: Run Linter | ||
#run: golangci-lint run | ||
# working-directory: ./go-app | ||
|
||
- name: Dockerhub Login | ||
uses: docker/[email protected] | ||
|