Skip to content

enhancement: update go v1.21 #17

enhancement: update go v1.21

enhancement: update go v1.21 #17

Workflow file for this run

name: Test
on:
pull_request:
branches: [main]
jobs:
test:
strategy:
matrix:
go-version: [ 1.19.x, 1.20.x, 1.21.x ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
timeout-minutes: 5
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v3
- name: Get dependencies
run: |
go install gotest.tools/gotestsum@latest
go get -v -t -d ./...
- name: Test
timeout-minutes: 3
run: gotestsum --junitfile unit-tests.xml -- -v -race ./...