Skip to content

chore: update CI workflow action versions - #138

Open
katsugtgz wants to merge 1 commit into
berty:mainfrom
katsugtgz:ci-update-action-versions
Open

katsugtgz wants to merge 1 commit into
berty:mainfrom
katsugtgz:ci-update-action-versions

Conversation

@katsugtgz

Copy link
Copy Markdown

Updates the go workflow to current action versions.

Changes:

  • actions/checkout v3/v4 -> v7
  • actions/setup-go v3 -> v7
  • actions/cache v4 -> v6
  • codecov/codecov-action v3.1.1 -> v7.1.1

codecov-action v3 stopped running when GitHub sunset its node16 runner, so both coverage upload steps currently fail. The workflow already sets fail_ci_if_error: false, so a missing CODECOV_TOKEN on pushes stays non-fatal and fork PR uploads remain tokenless.

setup-go v7 exports GOTOOLCHAIN=local; the workflow pins go 1.26.4 from .tool-versions, which matches the go.mod requirement, so pinned legs are unaffected.

The pinned asdf-vm and json-to-variables steps are unchanged.

Validation: actionlint passes on the modified file.

Scope: .github/workflows/go.yml only.

@jefft0

jefft0 commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

(similar to berty/go-orbit-db#194)

@codecov

codecov Bot commented Oct 23, 2026

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@jefft0

jefft0 commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

@katsugtgz . You say "setup-go v7 exports GOTOOLCHAIN=local" . Please explain why GOTOOLCHAIN was needed in the workflow file in PR berty/go-orbit-db#194 but not here.

@jefft0 jefft0 added the more info needed Waiting for a response label Oct 23, 2026
Bumps actions/checkout to v7, actions/cache to v6, actions/setup-go to
v7, actions/upload-artifact to v7, and codecov to v7.1.1 across CI
workflows. Brings benchmark, codeql-analysis, protobuf, and ssh-runner
to the same majors, and moves codeql-analysis off codeql-action v2,
whose node16 runner no longer runs. Release and buf-push workflows are
left unchanged.
@katsugtgz
katsugtgz force-pushed the ci-update-action-versions branch from 9a89e50 to 52b5a98 Compare October 27, 2026 13:10
@katsugtgz

Copy link
Copy Markdown
Author

Updated the branch to also cover benchmark, codeql-analysis, protobuf, and ssh-runner workflows, and moved codeql-analysis off codeql-action v2, which no longer runs on current runners. Sorry for the churn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

more info needed Waiting for a response

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants