diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 24ebc1b..58c12c8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,11 +13,16 @@ env: jobs: generate-artifacts: runs-on: ubuntu-latest + container: ghcr.io/filtersheroes/expired_domains_image:latest steps: - uses: actions/checkout@v4 - run: | git config --global --add safe.directory "$GITHUB_WORKSPACE" cd "$GITHUB_WORKSPACE" + echo "nameserver 1.1.1.1" | sudo tee /etc/resolv.conf.DNSoverride + echo "nameserver 1.0.0.1" | sudo tee /etc/resolv.conf.DNSoverride + sudo ln -sf /etc/resolv.conf.DNSoverride /etc/resolv.conf + cat /etc/resolv.conf mkdir ./expired-d touch ./expired-d/test-1.txt touch ./expired-d/test-2.txt