Skip to content

fix(ci): update bridge lint workflow for Go 1.21#1083

Open
sameh-farouk wants to merge 1 commit intodevelopmentfrom
fix/ci-bridge-lint
Open

fix(ci): update bridge lint workflow for Go 1.21#1083
sameh-farouk wants to merge 1 commit intodevelopmentfrom
fix/ci-bridge-lint

Conversation

@sameh-farouk
Copy link
Copy Markdown
Member

Summary

The bridge lint workflow (070_lint_and_test_go_bridge.yaml) fails because:

  • staticcheck-action@v1.3.0 bundles setup-go-faster which tries to install Go 1.19
  • go.mod requires Go 1.21 — the old tooling can't handle it

Changes

  • Go version: 1.20 → 1.21 (match go.mod)
  • golangci-lint-action: v3.7.0 → v6 (Go 1.21+ support)
  • staticcheck-action: v1.3.0 → v1 (uses setup-go internally, no more bundled Go 1.19)
  • gofmt: replaced Jerome1337/gofmt-action@v1.0.5 (unmaintained, last updated 2020) with inline gofmt -l check

- Go version: 1.20 → 1.21 (match go.mod requirement)
- golangci-lint-action: v3.7.0 → v6 (supports Go 1.21+)
- staticcheck-action: v1.3.0 → v1 (v1.3.0 bundled setup-go-faster
  with Go 1.19 which fails to install)
- gofmt: replace Jerome1337/gofmt-action@v1.0.5 (unmaintained) with
  inline gofmt -l check
@codacy-production
Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

TIP This summary will be updated as you push new changes. Give us feedback

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant