Skip to content

Commit

Permalink
changed order of workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Kesuaheli committed Nov 26, 2023
1 parent 67d609e commit e5a2b1c
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/gotest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,22 @@ jobs:
go-version: "1.20"

- name: Set up dependencies
run: go mod download

- name: Build
run: go build -v ./...
run: |
go mod download
go install honnef.co/go/tools/cmd/staticcheck@latest
go install golang.org/x/lint/golint@latest
- name: Run go vet
run: go vet -v ./...

- name: Install staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@latest

- name: Run staticcheck
run: staticcheck ./...

- name: Install golint
run: go install golang.org/x/lint/golint@latest

- name: Run golint
run: golint -set_exit_status ./...

- name: Build
run: go build -v ./...

- name: Run tests
run: go test -v -race -vet=off ./...

0 comments on commit e5a2b1c

Please sign in to comment.