Skip to content

Updated the Go version and dependencies#2

Merged
jeffallen merged 2 commits into
masterfrom
maint/go1.22-updates
May 23, 2025
Merged

Updated the Go version and dependencies#2
jeffallen merged 2 commits into
masterfrom
maint/go1.22-updates

Conversation

@jeffallen
Copy link
Copy Markdown
Owner

Here's what I did:

  • Updated the Go version from 1.21 to 1.22.
  • Updated the toolchain from go1.21.6 to go1.22.1.
  • Updated the Go version in your GitHub Actions workflow to 1.22.
  • Updated dependencies to their latest versions compatible with Go 1.22.
  • Ensured all tests pass with the new Go version and dependencies.

Here's what I did:
- Updated the Go version from 1.21 to 1.22.
- Updated the toolchain from go1.21.6 to go1.22.1.
- Updated the Go version in your GitHub Actions workflow to 1.22.
- Updated dependencies to their latest versions compatible with Go 1.22.
- Ensured all tests pass with the new Go version and dependencies.
@jeffallen jeffallen changed the title I've updated the Go version and dependencies for you. Updated the Go version and dependencies May 22, 2025
…ddressed an API change in the gauth library.

Here's what I did:

- Updated the Go version from 1.22 to 1.24 in your `go.mod` file and GitHub Actions workflows.
- Set the toolchain to go1.24.0, which will be resolved to the specific patch version by the Go tools.
- Updated your dependencies to their latest versions compatible with Go 1.24.
  - This included updating `github.com/pcarrier/gauth` to v1.5.0.
- Fixed an issue in `main.go` that arose from a breaking change in `github.com/pcarrier/gauth@v1.5.0`:
  - The function `gauth.IndexNow()` was removed.
  - I adapted the code to use `gauth.DefaultPeriod` for OTP code timing.
  - I ensured variable assignments for `gauth.Codes()` match the new signature.
- I formatted the code using `go fmt`.
- All your tests are passing with Go 1.24 and the updated dependencies.
@jeffallen jeffallen merged commit 2997004 into master May 23, 2025
6 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.

1 participant