-
Notifications
You must be signed in to change notification settings - Fork 261
28 lines (25 loc) · 1012 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: CI
on:
push:
branches: [master, next, ci]
pull_request:
branches: [ci]
workflow_dispatch:
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: check with dnscrypt-proxy
run: |
curl -qL https://github.com/jedisct1/dnscrypt-proxy/releases/download/2.1.3/dnscrypt-proxy-linux_x86_64-2.1.3.tar.gz | tar xzvf -
cp v3/* linux-x86_64
cd linux-x86_64
cp example-dnscrypt-proxy.toml dnscrypt-proxy.toml
sed -i -e 's/listen_addresses.*/listen_addresses = ["127.0.0.1:5300"]/' dnscrypt-proxy.toml
sed -i -e 's/require_dnssec.*/require_dnssec = false/' dnscrypt-proxy.toml
sed -i -e 's/require_nolog.*/require_nolog = false/' dnscrypt-proxy.toml
sed -i -e 's/http3.*/http3 = true/' dnscrypt-proxy.toml
sed -i -e 's/require_nofilter.*/require_nofilter = false/' dnscrypt-proxy.toml
./dnscrypt-proxy -list-all
./dnscrypt-proxy -show-certs