Skip to content

Commit

Permalink
new git workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ardan-bkennedy committed Jan 21, 2024
1 parent 2b1d32e commit 99d5f4a
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,12 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.21.6

# - name: Staticheck
# run: |
# wget -O staticcheck.tgz https://github.com/dominikh/go-tools/releases/download/2022.1/staticcheck_linux_amd64.tar.gz
# sudo tar -xzf staticcheck.tgz
# ./staticcheck/staticcheck --version
# ./staticcheck/staticcheck -checks=all ./...
- name: Staticheck
run: |
go install honnef.co/go/tools/cmd/staticcheck@latest
staticcheck/staticcheck -checks=all ./...
- name: Build
run: go build -v ./...
Expand Down

0 comments on commit 99d5f4a

Please sign in to comment.