diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 5314fb1..a084d4c 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -8,4 +8,13 @@ jobs: vet-and-test: runs-on: nightly steps: + - uses: actions/checkout@v4 - run: go vet ./... && go test -count=1 ./... + docker-checkout-hostgateway: + runs-on: ubuntu-latest + options: --add-host gitea:host-gateway + env: + GITHUB_SERVER_URL: http://gitea:3000 + steps: + - uses: actions/checkout@v4 + - run: test -f go.mod && echo "docker-mode checkout via host-gateway OK"