Skip to content

Introduce Map/MapOf configs and grow-only option (#132) #326

Introduce Map/MapOf configs and grow-only option (#132)

Introduce Map/MapOf configs and grow-only option (#132) #326

Workflow file for this run

name: build
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.19.x, 1.20.x, 1.21.x]
name: Build with Go ${{ matrix.go-version }}
steps:
- uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Run vet
run: go vet ./...
- name: Run staticcheck
uses: dominikh/[email protected]
with:
version: "2023.1.2"
install-go: false
cache-key: ${{ matrix.go-version }}
- name: Run tests
run: go test -v ./...
- name: Run tests with race detector
run: go test -timeout 10m -race -v ./...