Skip to content

Commit

Permalink
[CI] pin go v1.21.8 version
Browse files Browse the repository at this point in the history
Because setup-go fails to pick it up.

Refs: actions/setup-go#462
  • Loading branch information
earl-warren committed Mar 6, 2024
1 parent 96f9673 commit ac0f580
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 11 deletions.
3 changes: 1 addition & 2 deletions .forgejo/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ jobs:

- uses: https://code.forgejo.org/actions/setup-go@v4
with:
go-version: "1.21"
check-latest: true
go-version: "1.21.8"

- name: version from ref
id: release-info
Expand Down
2 changes: 1 addition & 1 deletion .forgejo/workflows/cascade-setup-end-to-end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
chown -R forgejo:forgejo .
- uses: https://code.forgejo.org/actions/setup-go@v4
with:
go-version: "1.21"
go-version: "1.21.8"
- name: make deps-backend
run: |
su forgejo -c 'make deps-backend'
Expand Down
3 changes: 1 addition & 2 deletions .forgejo/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ jobs:
- uses: https://code.forgejo.org/actions/checkout@v4
- uses: https://code.forgejo.org/actions/setup-go@v4
with:
go-version: "~1.21"
check-latest: true
go-version: "1.21.8"
- run: |
apt-get -qq update
apt-get -qq install -q sudo
Expand Down
2 changes: 1 addition & 1 deletion .forgejo/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
if: vars.ROLE == 'forgejo-experimental' && secrets.OVH_APP_KEY != ''
uses: https://code.forgejo.org/actions/setup-go@v4
with:
go-version: "1.21"
go-version: "1.21.8"
check-latest: true
- name: update the _release.experimental DNS record
if: vars.ROLE == 'forgejo-experimental' && secrets.OVH_APP_KEY != ''
Expand Down
10 changes: 5 additions & 5 deletions .forgejo/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: https://code.forgejo.org/actions/checkout@v3
- uses: https://code.forgejo.org/actions/setup-go@v4
with:
go-version: "1.21"
go-version: "1.21.8"
check-latest: true
- run: make deps-backend deps-tools
- run: make --always-make -j$(nproc) lint-backend checks-backend # ensure the "go-licenses" make target runs
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
- uses: https://code.forgejo.org/actions/checkout@v3
- uses: https://code.forgejo.org/actions/setup-go@v4
with:
go-version: "1.21"
go-version: "1.21.8"
- run: |
git config --add safe.directory '*'
adduser --quiet --comment forgejo --disabled-password forgejo
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
- uses: https://code.forgejo.org/actions/checkout@v3
- uses: https://code.forgejo.org/actions/setup-go@v4
with:
go-version: "1.21"
go-version: "1.21.8"
- name: install dependencies & git >= 2.42
run: |
export DEBIAN_FRONTEND=noninteractive
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
- uses: https://code.forgejo.org/actions/checkout@v3
- uses: https://code.forgejo.org/actions/setup-go@v4
with:
go-version: "1.21"
go-version: "1.21.8"
- name: install dependencies & git >= 2.42
run: |
export DEBIAN_FRONTEND=noninteractive
Expand Down Expand Up @@ -180,7 +180,7 @@ jobs:
- uses: https://code.forgejo.org/actions/checkout@v3
- uses: https://code.forgejo.org/actions/setup-go@v4
with:
go-version: "1.21"
go-version: "1.21.8"
- name: install dependencies & git >= 2.42
run: |
export DEBIAN_FRONTEND=noninteractive
Expand Down

0 comments on commit ac0f580

Please sign in to comment.