Skip to content

Commit

Permalink
ci: fixed release issue
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-cardenas-coding committed Apr 24, 2023
1 parent 9529ffe commit b995f6c
Showing 1 changed file with 18 additions and 12 deletions.
30 changes: 18 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,30 @@ jobs:
runs-on: ubuntu-latest
steps:

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


- name: Set up Go
uses: actions/setup-go@v4.0.0
uses: actions/setup-go@v3
with:
go-version: 1.20
go-version: '1.20'
check-latest: true
id: go

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

- name: Get dependencies
-
name: "Get dependencies"
id: 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 version
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Go Tests
run: |
go test ./...
- name: next version
run: |
Expand Down

0 comments on commit b995f6c

Please sign in to comment.