diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index 89f08cd..d9854ea 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -1,5 +1,5 @@ -# Runs on Forgejo Actions (Codeberg). Enable Actions in the repository settings and make sure -# a runner with the `docker` label is available; change `runs-on` if yours is named differently. +# Runs on Forgejo Actions. The jobs ask for a runner labelled `docker` that runs each job in the +# container named below; change `runs-on` if your runner is labelled differently. name: ci on: @@ -12,6 +12,9 @@ jobs: runs-on: docker container: golang:1.27 steps: + # The checkout action runs on Node, which the golang image does not carry. + - name: Install Node + run: apt-get update -qq && apt-get install -y -qq nodejs git - uses: actions/checkout@v4 - run: make go-ci @@ -28,5 +31,8 @@ jobs: runs-on: docker container: golang:1.27 steps: + # The checkout action runs on Node, which the golang image does not carry. + - name: Install Node + run: apt-get update -qq && apt-get install -y -qq nodejs git - uses: actions/checkout@v4 - run: make vuln diff --git a/.forgejo/workflows/e2e.yaml b/.forgejo/workflows/e2e.yaml index 16bcf76..9d29f8d 100644 --- a/.forgejo/workflows/e2e.yaml +++ b/.forgejo/workflows/e2e.yaml @@ -1,5 +1,8 @@ # The end-to-end test starts Postfix and parsimony in Docker, so it needs a runner that can run -# Docker itself. Start it by hand from the Actions tab (or run `make e2e` locally). +# Docker itself, with the job on the host network (it talks to published ports on 127.0.0.1 and +# mounts temporary directories). A plain `docker` runner does not give a job a Docker daemon, and +# I have not run this workflow on a runner: use `make e2e` locally. Start it by hand from the +# Actions tab only once you have such a runner. name: e2e on: