Skip to content

Merge pull request #256 from signalfx/fixexporter #152

Merge pull request #256 from signalfx/fixexporter

Merge pull request #256 from signalfx/fixexporter #152

Workflow file for this run

name: golangci-lint
on:
push:
tags:
- v*
branches:
- master
- main
pull_request:
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/[email protected]
with:
version: v1.52.2
# Optional: golangci-lint command line arguments.
args: '--config=.golangci.yml -v'
# Optional: show only new issues if it's a pull request. The default value is `false`.
# only-new-issues: true
# Optional: if set to true then the action will use pre-installed Go.
# skip-go-installation: true
# Optional: if set to true then the action don't cache or restore ~/go/pkg.
skip-pkg-cache: true
# Optional: if set to true then the action don't cache or restore ~/.cache/go-build.
skip-build-cache: true
cross-compile:
name: cross-compile
runs-on: ubuntu-latest
strategy:
matrix:
os: [ linux, windows, darwin ]
arch: [ ppc64le, amd64, arm64 ]
exclude:
- os: darwin
arch: ppc64le
- os: windows
arch: ppc64le
steps:
- uses: actions/checkout@v3
- run: |
GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} go build ./...