Skip to content

Commit

Permalink
ci: add go-vet
Browse files Browse the repository at this point in the history
  • Loading branch information
Henri Devigne committed Jun 1, 2024
1 parent 6ac97f0 commit 7a48799
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on:
types: [ opened, synchronize, reopened ]

jobs:
govet:
name: "go vet"
go-govet:
name: "golang:vet"
runs-on: ubuntu-latest

steps:
Expand All @@ -17,4 +17,15 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- run: go vet
- run: go vet
go-staticcheck:
name: "golang:staticcheck"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: dominikh/[email protected]
with:
version: "latest"
install-go: true

0 comments on commit 7a48799

Please sign in to comment.