feat(linter-ci): adds golang linter ci #1
Workflow file for this run
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
name: Go Linter CI | |
on: | |
push: | |
branches: | |
- api/basketball | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.21.0 | |
- name: Install linter | |
run: go get -u golang.org/x/lint/golint | |
- name: Run linter | |
run: golint ./... |