Skip to content

Merge pull request #21 from adrianclim/patch-1 #36

Merge pull request #21 from adrianclim/patch-1

Merge pull request #21 from adrianclim/patch-1 #36

Workflow file for this run

name: unit-tests
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
name: lint
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18.x
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
# Required: the version of golangci-lint is required and must be specified without patch version.
version: v1.52.2
unit-test:
runs-on: ubuntu-latest
name: unit-test
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18.x
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Run test
run: make test