From 4e4ad21c8b973d89d274d836f7eb06c45a68217e Mon Sep 17 00:00:00 2001 From: conbon Date: Thu, 30 May 2024 14:00:11 +0100 Subject: [PATCH] fix: ei-2934 - adding go setup to github action & uncommenting make target dependency --- .github/workflows/check.yml | 4 ++++ Makefile | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 7e93413..9fca3bc 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -30,6 +30,10 @@ jobs: - name: Check out repository uses: actions/checkout@v3 continue-on-error: true + - name: Setup Golang + uses: actions/setup-go@v5 + with: + go-version: '1.20' - name: Generate client (stubs) files # Install all dependencies and generate API stubs. run: make build diff --git a/Makefile b/Makefile index bfee333..c077393 100644 --- a/Makefile +++ b/Makefile @@ -98,7 +98,7 @@ verify-import: deps-py source "$(VENV_PATH)"/"$(VENV_PATH_DIR)"/activate \ && python -c 'from iotics.lib.grpc import IoticsApi' -run-examples: #deps-py +run-examples: deps-py source "$(VENV_PATH)"/"$(VENV_PATH_DIR)"/activate \ && python examples/search_twin_models.py \ && python examples/search_location.py \