aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/release-nightly.yml
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-08-10 23:53:44 +0200
committerGitHub <noreply@github.com>2023-08-10 21:53:44 +0000
commit1772814605d6c4ba70d20a525ccb5ef4c591f66a (patch)
treef2aabe980548223e2a6da9e7f2fb0feea040cf48 /.github/workflows/release-nightly.yml
parent2cbd377e1f8d01c1e4a472f6ca5d770af63dbea4 (diff)
downloadgitea-1772814605d6c4ba70d20a525ccb5ef4c591f66a.tar.gz
gitea-1772814605d6c4ba70d20a525ccb5ef4c591f66a.zip
Lock go to 1.21 on CI (#26433)
To prevent unwanted surprises with new minor versions of go, lock the version to minor version using [semver tilde syntax](https://github.com/npm/node-semver#tilde-ranges-123-12-1). We were already getting 1.21.0 since yesterday, so use that version now as minimum.
Diffstat (limited to '.github/workflows/release-nightly.yml')
-rw-r--r--.github/workflows/release-nightly.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/release-nightly.yml b/.github/workflows/release-nightly.yml
index 0e94f5217c..8387f615d9 100644
--- a/.github/workflows/release-nightly.yml
+++ b/.github/workflows/release-nightly.yml
@@ -14,7 +14,7 @@ jobs:
- run: git fetch --unshallow --quiet --tags --force
- uses: actions/setup-go@v4
with:
- go-version: ">=1.20"
+ go-version: "~1.21"
check-latest: true
- uses: actions/setup-node@v3
with: