mirror of
https://github.com/quantum5/bird-filter.git
synced 2025-04-24 09:01:57 -04:00
Add basic bird config test CI flow
This commit is contained in:
parent
398752c312
commit
458e8e9ed9
18
.github/workflows/bird.yml
vendored
Normal file
18
.github/workflows/bird.yml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
name: Test bird configuration
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
jobs:
|
||||
amd64:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
packages: write
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install bird2
|
||||
run: |
|
||||
sudo add-apt-repository ppa:cz.nic-labs/bird
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y bird2
|
||||
- name: Test skeleton.conf syntax
|
||||
run: /usr/sbin/bird -c skeleton.conf -p
|
Loading…
Reference in a new issue