Skip to content

Update Go version to 1.19 in CI workflow and go.mod #12

Update Go version to 1.19 in CI workflow and go.mod

Update Go version to 1.19 in CI workflow and go.mod #12

Workflow file for this run

name: unit-test
on:
push:
branches:
- master
- release/*
pull_request:
branches:
- master
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.19
uses: actions/setup-go@v1
with:
go-version: 1.19
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Get dependencies
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Run test
run: go test -v -race