# 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: push: branches: [main] pull_request: jobs: go: 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 admin: runs-on: docker container: node:24 steps: - uses: actions/checkout@v4 - run: make admin-ci # Separate job: a vulnerability published tomorrow must not make an unrelated change look broken, # but it should be visible. vuln: 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