fea: add codeql action

This commit is contained in:
Daniel Ding
2022-09-25 08:44:12 +08:00
parent 61b92cfde7
commit 205dd748d1
5 changed files with 70 additions and 24 deletions
+3 -15
View File
@@ -1,10 +1,6 @@
name: Ubuntu CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
on: [ push, pull_request ]
jobs:
build:
@@ -18,18 +14,10 @@ jobs:
with:
go-version: '1.16.x'
- name: Require packages
- name: Building packages
run: |
sudo apt update
sudo apt install -y liblzo2-dev libpam-dev
sudo apt install -y graphviz autoconf automake bzip2 debhelper dh-autoreconf libssl-dev libtool openssl procps python-all python-six libunbound-dev
- name: Update source code
run: make update
- name: Running unit tests
run: make test
- name: Building linux package
run: make gz
make update && make test && make linux-bin