Add check to unbound list (#204)
This commit is contained in:
23
.github/workflows/tests.yml
vendored
23
.github/workflows/tests.yml
vendored
@@ -1,15 +1,5 @@
|
||||
name: Tests
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- 'pihole-google.txt'
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- 'pihole-google.txt'
|
||||
on: push
|
||||
jobs:
|
||||
duplicates:
|
||||
name: No duplicate domains in list
|
||||
@@ -42,4 +32,13 @@ jobs:
|
||||
- name: Check if list includes regex domains
|
||||
run: |
|
||||
cd scripts
|
||||
python3 tests.py --type regex
|
||||
python3 tests.py --type regex
|
||||
unbound:
|
||||
name: Check Unbound list
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install Unbound
|
||||
run: sudo apt-get update && sudo apt-get install -y unbound
|
||||
- name: Check unbound list
|
||||
run: unbound-checkconf unbound.conf
|
||||
5
unbound.conf
Normal file
5
unbound.conf
Normal file
@@ -0,0 +1,5 @@
|
||||
# This is an example Unbound config file.
|
||||
# Used primarily to check pihole-google-unbound.conf for errors
|
||||
|
||||
server:
|
||||
include: "pihole-google-unbound.conf"
|
||||
Reference in New Issue
Block a user