Skip to content

Commit

Permalink
Update build github action
Browse files Browse the repository at this point in the history
  • Loading branch information
tmdvs committed Oct 19, 2024
1 parent 30a8c62 commit 40d1baf
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,18 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.12
- name: Set up Go 1.23
uses: actions/setup-go@v1
with:
go-version: 1.12
go-version: 1.23
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v1

- name: Get dependencies
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
go get -v -t ./...
- name: Test
run: go test ./tests/... -v

0 comments on commit 40d1baf

Please sign in to comment.