Skip to content

Return partially successful data and errors, not just errors #34

Return partially successful data and errors, not just errors

Return partially successful data and errors, not just errors #34

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.21.x
- name: Lint
run: go vet ./...
test:
name: Test with Go ${{ matrix.go }}
runs-on: ubuntu-latest
strategy:
matrix:
go:
- 1.18.x
- 1.19.x
- 1.20.x
- ^1.21 # Latest version of Go
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
check-latest: true
- name: Test
run: go test -race ./...