Place the version update at an other place in the CI action

pull/3/head
Jean-Marc MEESSEN 4 years ago
parent 4e8d0c69d9
commit ff2bcc6ca0

@ -15,13 +15,14 @@ jobs:
name: Build & Test name: Build & Test
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Update version
run: ./update-version.sh
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with: with:
go-version: '^1.14.0' go-version: '^1.14.0'
- run: go mod download - run: go mod download
- name: Build & Test - name: Build & Test
run: | run: |
./update-version.sh
go build -v . go build -v .
go test ./... go test ./...
- name: Run GoReleaser - name: Run GoReleaser

Loading…
Cancel
Save