Skip to content

Commit

Permalink
fix(ci): go mod tidy before build
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Apr 22, 2024
1 parent 5a887a1 commit 511a1ae
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,25 @@ jobs:
run: go mod download

- name: Build
run: go build -v ./...
run: |
go mod tidy
go build -v ./...
- name: Test
run: go test ./...

- name: Build examples
run: go build -v ./...
run: |
go mod tidy
go build -v ./...
working-directory: ./examples

- name: Test examples
run: go test -v ./...
working-directory: ./examples

- name: Build tutorials
run: go build -v ./...
run: |
go mod tidy
go build -v ./...
working-directory: ./tutorials

0 comments on commit 511a1ae

Please sign in to comment.