Skip to content

Merge pull request #105 from debarshiray/wip/rishi/issues-99 #101

Merge pull request #105 from debarshiray/wip/rishi/issues-99

Merge pull request #105 from debarshiray/wip/rishi/issues-99 #101

Workflow file for this run

name: Go
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
name: Build
strategy:
matrix:
go-version: [1.13.x, 1.15.x, 1.16.x, 1.17.x, 1.18.x]
platform: [ubuntu-20.04]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
lint:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: golangci/[email protected]
with:
version: v1.51