Bump github.com/influxdata/influxdb-client-go/v2 from 2.12.3 to 2.12.4 #124
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: CI | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Unit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Task | |
uses: arduino/setup-task@v1 | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: 'go.mod' | |
- run: go version | |
- name: Setup influxdb | |
env: | |
ACTIONS_ALLOW_UNSECURE_COMMANDS: true | |
run: | | |
source ./scripts/setup_influxdb.sh | |
echo "::set-env name=INFLUXDB_V2_URL::$INFLUXDB_V2_URL" | |
echo "::set-env name=INFLUXDB_V2_TOKEN::$INFLUXDB_V2_TOKEN" | |
echo "::set-env name=INFLUXDB_V2_BUCKET_ID::$INFLUXDB_V2_BUCKET_ID" | |
echo "::set-env name=INFLUXDB_V2_ORG_ID::$INFLUXDB_V2_ORG_ID" | |
echo "::set-env name=TF_ACC::1" | |
- name: Run unit tests | |
run : task test | |