Skip to content

agent: replace arrayFlags with tags.CommaSeparatedStrings #1005

agent: replace arrayFlags with tags.CommaSeparatedStrings

agent: replace arrayFlags with tags.CommaSeparatedStrings #1005

Workflow file for this run

name: test
on:
push:
branches:
- '*'
tags-ignore:
- 'v*'
pull_request:
jobs:
test:
strategy:
matrix:
go-version: [1.21]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Cache Go modules
uses: actions/cache@v1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-${{ matrix.go-version }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-${{ matrix.go-version }}-go-
- name: Test
run: go test ./...
- name: Test with -race
run: go test -race ./...