build(deps): bump github.com/containernetworking/plugins from 1.6.0 to 1.6.1 #493
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: test | |
on: ["push", "pull_request"] | |
env: | |
GO_VERSION: "1.23" | |
jobs: | |
build: | |
name: Build / ${{ matrix.arch }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
arch: | |
- amd64 | |
- arm64 | |
- s390x | |
- mips64le | |
- ppc64le | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: Build on ${{ matrix.arch }} | |
run: make GOARCH=${{ matrix.arch }} | |
test-linux: | |
name: Run tests on Linux amd64 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: Install test binaries | |
run: | | |
go install github.com/modocache/gover@latest | |
go install github.com/mattn/goveralls@latest | |
- name: test | |
run: PATH=$PATH:$(go env GOPATH)/bin COVERALLS=1 make check | |
- name: Send coverage to coveralls | |
env: | |
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
PATH=$PATH:$(go env GOPATH)/bin | |
gover | |
goveralls -coverprofile=gover.coverprofile -service=github | |
lint: | |
name: Run golangci-lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- run: make lint |