Skip to content

dependency update (#50) #106

dependency update (#50)

dependency update (#50) #106

Workflow file for this run

name: Go
on: [push]
jobs:
build-legacy:
name: Build Legacy
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.13
uses: actions/setup-go@v1
with:
go-version: 1.13
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Test v2
run: GO111MODULE=on go test -race -cover -count=5 .
- name: Test v3
run: cd ./v3 && GO111MODULE=on go test -race -cover -count=5 ./...
build-latest:
name: Build Latest
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.21', '1.22', '1.23' ]
steps:
- name: Set up Go 1.23
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}
go-version-file: 'v4/go.mod'
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Test v4
run: cd ./v4 && go test -race -cover -count=5 ./...