Skip to content

Draft: nil handling for maps/slices / module version v1 #28

Draft: nil handling for maps/slices / module version v1

Draft: nil handling for maps/slices / module version v1 #28

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.22', '1.21', '1.20' ]
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- uses: actions/cache@v2
with:
# * Module download cache
path: |
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Test
run: go test -v -bench ./... -covermode=atomic -coverprofile=cover.out
- uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: cover.out