Skip to content

Merge remote-tracking branch 'origin/main' into jlewi/syncer #154

Merge remote-tracking branch 'origin/main' into jlewi/syncer

Merge remote-tracking branch 'origin/main' into jlewi/syncer #154

Workflow file for this run

# A basic workflow for Go
name: test-go
on: [push]
defaults:
run:
shell: bash -ieo pipefail {0}
jobs:
test:
name: golang test & build
# Must run on github hosted runners
runs-on: [ubuntu-20.04]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.19.2' # The Go version to download (if necessary) and use.
- run: go test ./...
- run: go build ./cmd/...
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
# https://github.com/golangci/golangci-lint/releases
version: v1.50
# These options work around the errors in this issue
# https://github.com/golangci/golangci-lint-action/issues/244
skip-pkg-cache: true
skip-build-cache: true