Skip to content

Ghi078 release adhoc #84

Ghi078 release adhoc

Ghi078 release adhoc #84

Workflow file for this run

name: go test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.18', '1.19', '1.20', '1.21' ]
steps:
- uses: actions/checkout@v3
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
# You can test your matrix by printing the current Go version
- name: Display Go version
run: go version
- name: Deps
run: go get ./...
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...