Skip to content

Commit a618f1b

Browse files
authored
Merge pull request #158 from snprajwal/ci
fix(ci): move from Fedora to Ubuntu
2 parents 15dd6b5 + d4bd357 commit a618f1b

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,18 @@ on: [push, pull_request]
55
jobs:
66
test:
77
runs-on: ubuntu-latest
8-
container:
9-
image: registry.fedoraproject.org/fedora:latest
10-
options: --privileged --cap-add=NET_ADMIN --cap-add=NET_RAW -v /lib/modules:/lib/modules
118
steps:
129
- uses: actions/checkout@v4
10+
- name: Install Go
11+
uses: actions/setup-go@v5
12+
with:
13+
check-latest: true
1314
- name: Install tools
1415
run: |
15-
sudo dnf -y install ShellCheck bats golang criu asciidoctor iptables iproute kmod jq bash bash-completion zsh fish
16+
# Add PPA for CRIU
17+
sudo add-apt-repository ppa:criu/ppa
18+
sudo apt-get update
19+
sudo apt-get install -qqy shellcheck bats criu asciidoctor iptables iproute2 kmod jq bash bash-completion zsh fish
1620
sudo modprobe -va ip_tables ip6table_filter nf_conntrack nf_conntrack_netlink
1721
- name: Run make shellcheck
1822
run: make shellcheck

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
run:
33
concurrency: 6
4-
deadline: 5m
4+
timeout: 5m
55
linters:
66
enable:
77
- errorlint

0 commit comments

Comments
 (0)