Skip to content

Commit

Permalink
chore(linter-ci): fixes installation of golint
Browse files Browse the repository at this point in the history
  • Loading branch information
zakhaev26 committed Nov 10, 2023
1 parent e090f8d commit 5bcdb0c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/linter-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- api/basketball

jobs:
lint:
runs-on: ubuntu-latest
Expand All @@ -18,8 +17,10 @@ jobs:
with:
go-version: 1.21.0

- name: Install linter
run: go get -u golang.org/x/lint/golint
- name: Install golint
run: |
go get -u golang.org/x/lint/golint
go install golang.org/x/lint/golint
- name: Run linter
- name: Run golint
run: golint ./...

0 comments on commit 5bcdb0c

Please sign in to comment.