File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,17 +4,18 @@ on: [push, pull_request]
44
55permissions :
66 contents : read
7+ packages : read
78
89jobs :
910 coverage :
1011 runs-on : ubuntu-latest
1112 container :
12- image : fedora:latest
13+ image : ghcr.io/${{ github.repository }}/ci:latest
14+ credentials :
15+ username : ${{ github.actor }}
16+ password : ${{ secrets.GITHUB_TOKEN }}
1317 options : --privileged
1418 steps :
15- - name : Install tools
16- run : |
17- dnf install -y bats iptables iproute jq criu golang make git
1819 - name : Fix git safe directory
1920 run : git config --global --add safe.directory /__w/checkpointctl/checkpointctl
2021 - name : checkout
Original file line number Diff line number Diff line change @@ -4,18 +4,23 @@ on: [push, pull_request]
44
55permissions :
66 contents : read
7+ packages : read
78
89jobs :
910 test :
1011 runs-on : ubuntu-latest
1112 container :
12- image : fedora:latest
13+ image : ghcr.io/${{ github.repository }}/ci:latest
14+ credentials :
15+ username : ${{ github.repository_owner }}
16+ password : ${{ secrets.GITHUB_TOKEN }}
1317 options : --privileged -v /lib/modules:/lib/modules
1418 steps :
19+ - name : Fix git safe directory
20+ run : git config --global --add safe.directory /__w/checkpointctl/checkpointctl
1521 - uses : actions/checkout@v4
16- - name : Install tools
22+ - name : Load kernel modules
1723 run : |
18- dnf install -y golang make ShellCheck bats criu rubygem-asciidoctor iptables iproute kmod jq bash bash-completion zsh fish
1924 modprobe -va ip_tables ip6table_filter nf_conntrack nf_conntrack_netlink
2025 - name : Run make shellcheck
2126 run : make shellcheck
You can’t perform that action at this time.
0 commit comments