Skip to content

test with go 1.23

test with go 1.23 #46

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.23', '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