Fix for issue 1166: Allow CAP_NET_RAW and NET_RAW drop capabilities #50
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: Verify codegen | |
permissions: {} | |
on: | |
pull_request: | |
branches: | |
- main | |
- release-* | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
verify-e2e-workflow: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Set up Go | |
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version-file: .hack/chainsaw-matrix/go.mod | |
cache-dependency-path: .hack/chainsaw-matrix/go.sum | |
- name: Generate workflow | |
run: | | |
set -e | |
(cd .hack/chainsaw-matrix && go run . > ../../.github/workflows/test.yml) | |
- name: Check diff | |
run: | | |
set -e | |
git --no-pager diff . | |
git diff --quiet --exit-code . |