Skip to content

Merge pull request #56 from troyhantech/ht/dev #59

Merge pull request #56 from troyhantech/ht/dev

Merge pull request #56 from troyhantech/ht/dev #59

Workflow file for this run

name: Go
on:
push:
branches: [ "master", "develop" ]
pull_request:
branches: [ "master", "develop" ]
jobs:
lint-and-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: lint
uses: golangci/golangci-lint-action@v3.1.0
with:
working-directory: .
# Pin golangci-lint to a pre-1.49 version to avoid deprecated/removed linters in current .golangci.yml
version: v1.48.0
# Avoid deprecated output format warning
args: --out-format=colored-line-number
skip-build-cache: true
skip-pkg-cache: true
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Build
run: go build -v ./