Skip to content

Fix lint errors and upgrade GitHub Actions workflows#7

Merged
arran4 merged 1 commit intomainfrom
lint-upgrade-actions-fix-8781805176559948150
Jan 29, 2026
Merged

Fix lint errors and upgrade GitHub Actions workflows#7
arran4 merged 1 commit intomainfrom
lint-upgrade-actions-fix-8781805176559948150

Conversation

@arran4
Copy link
Owner

@arran4 arran4 commented Jan 28, 2026

This PR addresses lint errors reported by golangci-lint and upgrades GitHub Actions workflows to remove deprecated actions and use latest versions.

Changes:

  • Replaced deprecated rand.Seed with a local random number generator in cmd/heatPlotRandom/main.go.
  • Fixed various gosimple lint errors (S1007, S1009, S1019, S1025) in lexer.go and heatPlot.go.
  • Updated GitHub Actions workflows (go.yml, golangci-lint.yaml, goreleaser.yaml, test.yaml) to use updated action versions and removed actions/cache as requested.

PR created automatically by Jules for task 8781805176559948150 started by @arran4

…ub Actions workflows

- Fix S1007: Use raw strings for regexp compilation in lexer.go
- Fix S1009: Remove redundant nil checks for slices in lexer.go
- Fix S1019: Simplify make() calls in heatPlot.go
- Fix S1025: Remove redundant fmt.Sprintf usage in heatPlot.go
- Fix SA1019: Replace deprecated rand.Seed with local RNG in cmd/heatPlotRandom/main.go
- Upgrade actions/checkout to v4
- Upgrade actions/setup-go to v5
- Upgrade golangci-lint-action to v6
- Upgrade goreleaser-action to v6
- Remove deprecated actions/cache usage from workflows

Co-authored-by: arran4 <111667+arran4@users.noreply.github.com>
@google-labs-jules
Copy link
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Copy link
Owner Author

@arran4 arran4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@arran4 arran4 merged commit 763d1b0 into main Jan 29, 2026
11 checks passed
@arran4 arran4 deleted the lint-upgrade-actions-fix-8781805176559948150 branch January 29, 2026 03:05
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