|
|
@ -19,38 +19,46 @@ jobs:
|
|
|
|
fail-fast: false
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
include:
|
|
|
|
- {os: macos-latest, GOOS: darwin, GOARCH: amd64}
|
|
|
|
- {os: macos-latest, CGO_ENABLED: "0", GOOS: darwin, GOARCH: amd64}
|
|
|
|
- {os: macos-latest, GOOS: darwin, GOARCH: arm64}
|
|
|
|
- {os: macos-latest, CGO_ENABLED: "1", GOOS: darwin, GOARCH: amd64}
|
|
|
|
- {os: ubuntu-latest, GOOS: dragonfly, GOARCH: amd64}
|
|
|
|
- {os: macos-latest, CGO_ENABLED: "0", GOOS: darwin, GOARCH: arm64}
|
|
|
|
- {os: ubuntu-latest, GOOS: freebsd, GOARCH: amd64}
|
|
|
|
- {os: ubuntu-latest, CGO_ENABLED: "0", GOOS: aix, GOARCH: ppc64}
|
|
|
|
- {os: ubuntu-latest, GOOS: freebsd, GOARCH: 386}
|
|
|
|
# - {os: ubuntu-latest, CGO_ENABLED: "1", GOOS: aix, GOARCH: ppc64} # FIXME
|
|
|
|
- {os: ubuntu-latest, GOOS: freebsd, GOARCH: arm}
|
|
|
|
- {os: ubuntu-latest, CGO_ENABLED: "0", GOOS: dragonfly, GOARCH: amd64}
|
|
|
|
- {os: ubuntu-latest, GOOS: linux, GOARCH: 386}
|
|
|
|
- {os: ubuntu-latest, CGO_ENABLED: "0", GOOS: freebsd, GOARCH: amd64}
|
|
|
|
- {os: ubuntu-latest, GOOS: linux, GOARCH: amd64}
|
|
|
|
# - {os: ubuntu-latest, CGO_ENABLED: "1", GOOS: freebsd, GOARCH: amd64} # FIXME
|
|
|
|
- {os: ubuntu-latest, GOOS: linux, GOARCH: arm64}
|
|
|
|
- {os: ubuntu-latest, CGO_ENABLED: "0", GOOS: freebsd, GOARCH: 386}
|
|
|
|
- {os: ubuntu-latest, GOOS: linux, GOARCH: arm}
|
|
|
|
- {os: ubuntu-latest, CGO_ENABLED: "0", GOOS: freebsd, GOARCH: arm}
|
|
|
|
- {os: ubuntu-latest, GOOS: linux, GOARCH: mips64}
|
|
|
|
- {os: ubuntu-latest, CGO_ENABLED: "0", GOOS: linux, GOARCH: 386}
|
|
|
|
- {os: ubuntu-latest, GOOS: linux, GOARCH: mips64le}
|
|
|
|
- {os: ubuntu-latest, CGO_ENABLED: "0", GOOS: linux, GOARCH: amd64}
|
|
|
|
- {os: ubuntu-latest, GOOS: linux, GOARCH: mips}
|
|
|
|
- {os: ubuntu-latest, CGO_ENABLED: "0", GOOS: linux, GOARCH: arm64}
|
|
|
|
- {os: ubuntu-latest, GOOS: linux, GOARCH: mipsle}
|
|
|
|
- {os: ubuntu-latest, CGO_ENABLED: "0", GOOS: linux, GOARCH: arm}
|
|
|
|
- {os: ubuntu-latest, GOOS: linux, GOARCH: ppc64le}
|
|
|
|
# - {os: ubuntu-latest, CGO_ENABLED: "0", GOOS: linux, GOARCH: loong64} # FIXME
|
|
|
|
- {os: ubuntu-latest, GOOS: linux, GOARCH: ppc64}
|
|
|
|
- {os: ubuntu-latest, CGO_ENABLED: "0", GOOS: linux, GOARCH: mips64}
|
|
|
|
- {os: ubuntu-latest, GOOS: linux, GOARCH: riscv64}
|
|
|
|
- {os: ubuntu-latest, CGO_ENABLED: "0", GOOS: linux, GOARCH: mips64le}
|
|
|
|
- {os: ubuntu-latest, GOOS: linux, GOARCH: s390x}
|
|
|
|
- {os: ubuntu-latest, CGO_ENABLED: "0", GOOS: linux, GOARCH: mips}
|
|
|
|
- {os: ubuntu-latest, GOOS: netbsd, GOARCH: amd64}
|
|
|
|
- {os: ubuntu-latest, CGO_ENABLED: "0", GOOS: linux, GOARCH: mipsle}
|
|
|
|
- {os: ubuntu-latest, GOOS: openbsd, GOARCH: 386}
|
|
|
|
- {os: ubuntu-latest, CGO_ENABLED: "0", GOOS: linux, GOARCH: ppc64le}
|
|
|
|
- {os: ubuntu-latest, GOOS: openbsd, GOARCH: amd64}
|
|
|
|
- {os: ubuntu-latest, CGO_ENABLED: "0", GOOS: linux, GOARCH: ppc64}
|
|
|
|
- {os: ubuntu-latest, GOOS: plan9, GOARCH: amd64}
|
|
|
|
- {os: ubuntu-latest, CGO_ENABLED: "0", GOOS: linux, GOARCH: riscv64}
|
|
|
|
- {os: ubuntu-latest, GOOS: plan9, GOARCH: 386}
|
|
|
|
- {os: ubuntu-latest, CGO_ENABLED: "0", GOOS: linux, GOARCH: s390x}
|
|
|
|
- {os: ubuntu-latest, GOOS: solaris, GOARCH: amd64}
|
|
|
|
- {os: ubuntu-latest, CGO_ENABLED: "0", GOOS: netbsd, GOARCH: amd64}
|
|
|
|
- {os: windows-latest, GOOS: windows, GOARCH: amd64}
|
|
|
|
- {os: ubuntu-latest, CGO_ENABLED: "1", GOOS: netbsd, GOARCH: amd64}
|
|
|
|
- {os: windows-latest, GOOS: windows, GOARCH: 386}
|
|
|
|
- {os: ubuntu-latest, CGO_ENABLED: "0", GOOS: openbsd, GOARCH: 386}
|
|
|
|
|
|
|
|
- {os: ubuntu-latest, CGO_ENABLED: "0", GOOS: openbsd, GOARCH: amd64}
|
|
|
|
|
|
|
|
# - {os: ubuntu-latest, CGO_ENABLED: "1", GOOS: openbsd, GOARCH: amd64} # FIXME
|
|
|
|
|
|
|
|
- {os: ubuntu-latest, CGO_ENABLED: "0", GOOS: plan9, GOARCH: amd64}
|
|
|
|
|
|
|
|
- {os: ubuntu-latest, CGO_ENABLED: "0", GOOS: plan9, GOARCH: 386}
|
|
|
|
|
|
|
|
- {os: ubuntu-latest, CGO_ENABLED: "0", GOOS: solaris, GOARCH: amd64}
|
|
|
|
|
|
|
|
- {os: windows-latest, CGO_ENABLED: "0", GOOS: windows, GOARCH: amd64}
|
|
|
|
|
|
|
|
- {os: windows-latest, CGO_ENABLED: "0", GOOS: windows, GOARCH: 386}
|
|
|
|
permissions:
|
|
|
|
permissions:
|
|
|
|
contents: read # for actions/checkout to fetch code
|
|
|
|
contents: read # for actions/checkout to fetch code
|
|
|
|
pull-requests: read # for golangci/golangci-lint-action to fetch pull requests
|
|
|
|
pull-requests: read # for golangci/golangci-lint-action to fetch pull requests
|
|
|
|
name: lint
|
|
|
|
name: lint
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
env:
|
|
|
|
env:
|
|
|
|
|
|
|
|
CGO_ENABLED: "${{ matrix.CGO_ENABLED }}"
|
|
|
|
GOARCH: ${{ matrix.GOARCH }}
|
|
|
|
GOARCH: ${{ matrix.GOARCH }}
|
|
|
|
GOOS: ${{ matrix.GOOS }}
|
|
|
|
GOOS: ${{ matrix.GOOS }}
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|