Skip to content

[StepSecurity] Apply security best practices #1946

[StepSecurity] Apply security best practices

[StepSecurity] Apply security best practices #1946

Workflow file for this run

name: e2e tests for flannel
on: pull_request
permissions:
contents: read
jobs:
e2e-test:
name: test
runs-on: ubuntu-latest
timeout-minutes: 90
steps:
- name: Set up Go 1.x
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 #v6.3.0
with:
go-version: ^1.24
- name: Check out code into the Go module directory
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2
- name: set up modules
run: sudo modprobe br_netfilter overlay
- name: Run tests
id: testing
continue-on-error: true
run: git fetch --unshallow --all --tags && make test 2>&1 > errors.txt
- name: Show additional logs
if: steps.testing.outcome != 'success'
run: |
cat errors.txt
exit 1