From c369619805ac523bf6fceffc34bcc9529e841441 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Fri, 5 Apr 2024 06:24:39 +0200 Subject: [PATCH] Revert "[CI] pin go v1.21.9 version" The golang action now knows about the latest Go version. This reverts commit d73ee023245c719dd83d85da1bd78c8a89b909c0. --- .forgejo/workflows/publish-release.yml | 2 +- .forgejo/workflows/testing.yml | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.forgejo/workflows/publish-release.yml b/.forgejo/workflows/publish-release.yml index 889210a0f4..6d244f70a6 100644 --- a/.forgejo/workflows/publish-release.yml +++ b/.forgejo/workflows/publish-release.yml @@ -57,7 +57,7 @@ jobs: uses: https://code.forgejo.org/actions/setup-go@v4 if: secrets.ROLE == 'forgejo-experimental' with: - go-version: "1.21.9" + go-version: "1.21" check-latest: true - name: update the _release.experimental DNS record if: secrets.ROLE == 'forgejo-experimental' diff --git a/.forgejo/workflows/testing.yml b/.forgejo/workflows/testing.yml index 9dacb12bf5..3f01109ee7 100644 --- a/.forgejo/workflows/testing.yml +++ b/.forgejo/workflows/testing.yml @@ -16,7 +16,7 @@ jobs: - uses: https://code.forgejo.org/actions/checkout@v3 - uses: https://code.forgejo.org/actions/setup-go@v4 with: - go-version: "1.21.9" + go-version: "1.21" check-latest: true - run: make deps-backend deps-tools - run: make lint-backend @@ -30,7 +30,7 @@ jobs: - uses: https://code.forgejo.org/actions/checkout@v3 - uses: https://code.forgejo.org/actions/setup-go@v4 with: - go-version: "1.21.9" + go-version: "1.21" check-latest: true - run: make deps-backend deps-tools - run: make --always-make checks-backend # ensure the "go-licenses" make target runs @@ -49,7 +49,7 @@ jobs: - uses: https://code.forgejo.org/actions/checkout@v3 - uses: https://code.forgejo.org/actions/setup-go@v4 with: - go-version: "1.21.9" + go-version: "1.21" - run: | git config --add safe.directory '*' adduser --quiet --comment forgejo --disabled-password forgejo @@ -85,7 +85,7 @@ jobs: - uses: https://code.forgejo.org/actions/checkout@v3 - uses: https://code.forgejo.org/actions/setup-go@v4 with: - go-version: "1.21.9" + go-version: "1.21" - name: install dependencies run: | export DEBIAN_FRONTEND=noninteractive @@ -128,7 +128,7 @@ jobs: - uses: https://code.forgejo.org/actions/checkout@v3 - uses: https://code.forgejo.org/actions/setup-go@v4 with: - go-version: "1.21.9" + go-version: "1.21" - name: install dependencies run: | export DEBIAN_FRONTEND=noninteractive @@ -162,7 +162,7 @@ jobs: - uses: https://code.forgejo.org/actions/checkout@v3 - uses: https://code.forgejo.org/actions/setup-go@v4 with: - go-version: "1.21.9" + go-version: "1.21" - name: install dependencies run: | export DEBIAN_FRONTEND=noninteractive