Skip to content

Commit

Permalink
fix github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
niondir committed Sep 6, 2024
1 parent 1eb1c48 commit 1701112
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,22 @@ jobs:
timeout-minutes: 10
env:
CGO_ENABLED: 0
services:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.23'
cache: true
- name: install go dependencies
run: go mod download all
- name: go generate
run: go generate ./...
- name: Test
run: go test ./...

# If a build fails due to a missing go.sum entry: Run `go mod tidy`, then `go mod download all` and commit the changes.
#build-go
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.23'
cache: true
- name: install go dependencies
run: go mod download all
- name: go generate
run: go generate ./...
- name: Test
run: go test ./...

# If a build fails due to a missing go.sum entry: Run `go mod tidy`, then `go mod download all` and commit the changes.
#build-go

0 comments on commit 1701112

Please sign in to comment.