From 1512160ce80bdadcb0d76db8e12adcc1391b979c Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Wed, 9 Aug 2023 16:07:38 +0200 Subject: [PATCH] [CI] pin go v1.20 for testing Refs: https://codeberg.org/forgejo/forgejo/issues/1228 --- .forgejo/workflows/testing.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/testing.yml b/.forgejo/workflows/testing.yml index eb1958528a..b233f7c706 100644 --- a/.forgejo/workflows/testing.yml +++ b/.forgejo/workflows/testing.yml @@ -14,7 +14,7 @@ jobs: - uses: https://code.forgejo.org/actions/checkout@v3 - uses: https://code.forgejo.org/actions/setup-go@v4 with: - go-version: ">=1.20" + go-version: "1.20" check-latest: true - run: make deps-backend deps-tools - run: make lint-backend @@ -26,7 +26,7 @@ jobs: - uses: https://code.forgejo.org/actions/checkout@v3 - uses: https://code.forgejo.org/actions/setup-go@v4 with: - go-version: ">=1.20" + go-version: "1.20" check-latest: true - run: make deps-backend deps-tools - run: make --always-make checks-backend # ensure the "go-licenses" make target runs @@ -39,7 +39,7 @@ jobs: - uses: https://code.forgejo.org/actions/checkout@v3 - uses: https://code.forgejo.org/actions/setup-go@v4 with: - go-version: ">=1.20.0" + go-version: "1.20" - run: | git config --add safe.directory '*' chown -R gitea:gitea . /go @@ -76,7 +76,7 @@ jobs: - uses: https://code.forgejo.org/actions/checkout@v3 - uses: https://code.forgejo.org/actions/setup-go@v4 with: - go-version: ">=1.20.0" + go-version: "1.20" - run: | git config --add safe.directory '*' chown -R gitea:gitea . /go @@ -109,7 +109,7 @@ jobs: - uses: https://code.forgejo.org/actions/checkout@v3 - uses: https://code.forgejo.org/actions/setup-go@v4 with: - go-version: ">=1.20.0" + go-version: "1.20" - run: | git config --add safe.directory '*' chown -R gitea:gitea . /go @@ -136,7 +136,7 @@ jobs: - uses: https://code.forgejo.org/actions/checkout@v3 - uses: https://code.forgejo.org/actions/setup-go@v4 with: - go-version: ">=1.20.0" + go-version: "1.20" - run: | git config --add safe.directory '*' chown -R gitea:gitea . /go