Add check to unbound list (#204)

This commit is contained in:
Nick Spaargaren
2024-07-28 22:42:27 +02:00
committed by GitHub
parent 21359fce2a
commit 86b5178598
2 changed files with 16 additions and 12 deletions

View File

@@ -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
View 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"