Skip to content

[dnswatch] fix build + make build static + create release on github #237

[dnswatch] fix build + make build static + create release on github

[dnswatch] fix build + make build static + create release on github #237

Workflow file for this run

name: lint_dnswatch
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
with:
go-version: 1.22.3
- name: "Install deps"
run: sudo apt-get update; sudo apt-get install -y make clang gcc-multilib libsystemd-dev libcap-dev libpcap-dev
- name: "Install libbpf-1"
run: sudo bash .github/scripts/install_libbpf1.sh
- name: "Build all"
run: cd dnswatch; git submodule update --init --recursive; make
- name: "Run linter"
run: cd dnswatch; git submodule update --init --recursive; make lint