Skip to content

Commit

Permalink
Added Go Module and Go Path
Browse files Browse the repository at this point in the history
  • Loading branch information
uzaxirr authored Jan 12, 2023
1 parent f574009 commit db1736a
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Build
run: go build -v
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.29
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.19
- name: Install golangci-lint
run: |
GO111MODULE=on go get github.com/golangci/golangci-lint/cmd/[email protected]
- name: Lint code
run: golangci-lint run

0 comments on commit db1736a

Please sign in to comment.