Skip to content

CI

CI #3461

Workflow file for this run

name: CI
on:
schedule:
- cron: "0 8,20 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
token: ${{ secrets.GITHUB_PERSONAL_TOKEN }}
- name: dnsvalidator
run: |
git clone https://github.com/vortexau/dnsvalidator
cd dnsvalidator
pip3 install wheel
pip3 install setuptools
sudo python3 setup.py install
rm ../resolvers.txt
dnsvalidator -tL https://raw.githubusercontent.com/janmasarik/resolvers/master/resolvers.txt -threads 5 -o ../resolvers.txt
sed -i '/^$/d' ../resolvers.txt
- name: Commit resolvers.txt
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add resolvers.txt
git commit -m "Update resolvers" -a
git push "https://janmasarik:${{ secrets.GITHUB_PERSONAL_TOKEN }}@github.com/janmasarik/resolvers.git" HEAD:master --follow-tags