Skip to content

Commit

Permalink
#26 Updated to go 1.17.
Browse files Browse the repository at this point in the history
  • Loading branch information
cbuschka committed Sep 27, 2021
1 parent 770ace5 commit 07af83e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.16.x]
go-version: [1.17.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ endef
all: clean build_linux build_windows build_macosx integration_test

check_go_version:
@if [[ ! "$$(go version)" =~ ^.*go1.16.*$$ ]]; then \
echo "Wrong go version. Expected go 1.16."; \
@if [[ ! "$$(go version)" =~ ^.*go1.17.*$$ ]]; then \
echo "Wrong go version. Expected go 1.17."; \
exit 1; \
else \
echo "Go version ok."; \
Expand Down Expand Up @@ -100,13 +100,13 @@ build_with_docker:
-v ${PROJECT_DIR}:/build \
-w /build \
-e HOME=/build \
golang:1.16-buster \
golang:1.17-buster \
make build

test_with_docker:
docker run -u $(shell id -u):$(shell id -g) \
-v ${PROJECT_DIR}:/build \
-w /build \
-e HOME=/build \
golang:1.16-buster \
golang:1.17-buster \
make test

0 comments on commit 07af83e

Please sign in to comment.