blob: e99f6269b376d23e0ce4006c5bd5fc365e9b2513 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
on: [ push ]
jobs:
test:
runs-on: codeberg-small-lazy
container:
image: codeberg.org/fkooman/ci:latest
steps:
- name: Clone Repository
run: git clone -b ${{ github.ref_name }} ${{ github.server_url }}/${{ github.repository }} .
- name: Download Go deps
run: GOPROXY=https://proxy.golang.org,direct go get ./...
- name: Test Go
run: unshare -r -n bash -c "ip link set lo up && make test"
- name: Lint
run: make lint
|