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