Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Staticcheck v0.5.1 in CI infrastructure #5175

Merged
merged 4 commits into from
Sep 30, 2024

Commits on Sep 30, 2024

  1. Modernise CI infrastructure with Go 1.22

    This mainly does two things:
    - Uses Go 1.22 instead of 1.21 as the highest version (I don't have 1.23
      on Fedora 40 yet so did not want to bump to latest just yet).
    - We now always pull the latest setup-go-faster action in v1 without
      having to manually change version.
    Jacalz committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    0005ef3 View commit details
    Browse the repository at this point in the history
  2. Update CI and code to use Staticcheck v0.5.1

    This fixes a few code errors that slipped through review (thankfully now
    handled by Staticcheck for us) and makes sure we are using the latest
    version.
    Jacalz committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    c6efac2 View commit details
    Browse the repository at this point in the history
  3. Add a missing import

    Haven't quite gotten used to Nvim yet ;)
    Jacalz committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    670a423 View commit details
    Browse the repository at this point in the history
  4. Bump Go version in CI to 1.23

    This should be safer than ever given that some new features are
    dependent on the version in go.mod.
    Jacalz committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    4398262 View commit details
    Browse the repository at this point in the history