File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4646 token : ${{ secrets.GITHUB_TOKEN }}
4747
4848 - name : test dohd resolution of example.com
49- id : test
5049 run : |
5150 sudo chmod a+x ./curl
5251 sleep 5
53- ./curl -s --doh-url https://127.0.0.1:8053 --doh-insecure https://example.com
54- echo "::set-output name=hash::$(./curl -s --doh-url https://127.0.0.1:8053 --doh-insecure https://example.com | sha256sum | cut -d' ' -f1 | xargs)"
55- echo "$(./curl -s --doh-url https://127.0.0.1:8053 --doh-insecure https://example.com | sha256sum | cut -d' ' -f1 | xargs)"
56-
57- - name : check example hash
58- run : |
59- test ${{ steps.test.outputs.hash }} = ea8fac7c65fb589b0d53560f5251f74f9e9b243478dcb6b3ea79b5e36449c8d9
60-
52+ ./curl -s --doh-url https://127.0.0.1:8053 --doh-insecure https://example.com | grep -q "Example Domain"
You can’t perform that action at this time.
0 commit comments