Skip to content

Update CI#25

Merged
packrat386 merged 2 commits intoenova:mainfrom
packrat386:update_ci
Jul 31, 2025
Merged

Update CI#25
packrat386 merged 2 commits intoenova:mainfrom
packrat386:update_ci

Conversation

@packrat386
Copy link
Collaborator

@packrat386 packrat386 commented Jul 31, 2025

  • Update unit test action
  • Add golangci-lint and enforce via Actions

Use the latest checkout and setup-go actions. Run tests by themselves.
This linter has become the gold standard within the go community. The
configuration is minimal, just disabling a couple rules that couldn't
be trivially satisfied.

var err error
c.tempfile, err = ioutil.TempFile("", "config")
c.tempfile, err = os.CreateTemp("", "config")
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is a drop in replacement, see: https://pkg.go.dev/io/ioutil#TempFile

@packrat386 packrat386 enabled auto-merge July 31, 2025 18:40
@packrat386 packrat386 merged commit 3b1edc3 into enova:main Jul 31, 2025
5 checks passed
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.

3 participants