Skip to content

InfluxDB V2 Check (#41) #86

InfluxDB V2 Check (#41)

InfluxDB V2 Check (#41) #86

Workflow file for this run

name: Upload Go test results
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.18.x', '1.19.x', '1.20.x', '1.21.x' ]
steps:
- uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Install dependencies
run: go get .
- name: Test with Go
run: go test -race -json > TestResults-${{ matrix.go-version }}.json
- name: Test
uses: actions/upload-artifact@v3
with:
name: Go-results-${{ matrix.go-version }}
path: TestResults-${{ matrix.go-version }}.json