From 89c88950a79fb44a8fe116d8ef4b622c4a0dfab8 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Wed, 4 Dec 2024 09:10:57 +0100 Subject: [PATCH] chore(ci): s/ubuntu-latest/docker/ in the workflow Fixes forgejo/ovh-dns-update#5 --- .forgejo/workflows/pr.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/pr.yml b/.forgejo/workflows/pr.yml index 35cf09d..2a8a25b 100644 --- a/.forgejo/workflows/pr.yml +++ b/.forgejo/workflows/pr.yml @@ -5,12 +5,14 @@ on: jobs: test: - runs-on: ubuntu-latest + runs-on: docker + container: + image: 'code.forgejo.org/oci/node:20-bookworm' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: https://code.forgejo.org/actions/setup-go@v4 with: - go-version: ">=1.21" + go-version-file: "go.mod" check-latest: true - name: run the fake API server id: test