fix(client): Client won't crash on no response + no error code. #248
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GoLang Test | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
max-parallel: 1 | |
matrix: | |
environment: [KF9, KF10] | |
go-version: [ '1.18', '1.19'] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.19 | |
- name: Build | |
run: go build -v ./... | |
# - name: Test | |
# env: | |
# # GitHub sets the GITHUB_TOKEN secret automatically. | |
# ENV_FILE: ${{ secrets.ENV_FILE }} | |
# run: echo $ENV_FILE | base64 --decode > .env && source .env && go test -v ./api... | |