Skip to content

Document linux_capabilities in builds section #1756

Document linux_capabilities in builds section

Document linux_capabilities in builds section #1756

Workflow file for this run

name: Build
on:
pull_request:
branches:
- 'main'
jobs:
build:
strategy:
fail-fast: false
matrix:
go-version:
- '1.22'
- '1.23'
name: Build ${{ matrix.go-version }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: ${{ matrix.go-version }}
check-latest: true
- uses: golang/govulncheck-action@b625fbe08f3bccbe446d94fbf87fcc875a4f50ee # v1.0.4
with:
go-version-input: ${{ matrix.go-version }}
- run: |
go build ./...
go test -run=^$ ./...