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

[1.1] Support Go 1.22, bump some CI deps #4313

Merged
merged 16 commits into from
Jun 9, 2024

Commits on Jun 7, 2024

  1. build(deps): bump golangci/golangci-lint-action from 3 to 4

    Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3 to 4.
    - [Release notes](https://github.com/golangci/golangci-lint-action/releases)
    - [Commits](golangci/golangci-lint-action@v3...v4)
    
    ---
    updated-dependencies:
    - dependency-name: golangci/golangci-lint-action
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    (cherry picked from commit 27cbabd)
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    dependabot[bot] authored and kolyshkin committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    2ac8b11 View commit details
    Browse the repository at this point in the history
  2. build(deps): bump actions/upload-artifact from 3 to 4

    Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
    - [Release notes](https://github.com/actions/upload-artifact/releases)
    - [Commits](actions/upload-artifact@v3...v4)
    
    ---
    updated-dependencies:
    - dependency-name: actions/upload-artifact
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    (cherry picked from commit 7b65578)
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    dependabot[bot] authored and kolyshkin committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    25e27d7 View commit details
    Browse the repository at this point in the history
  3. build(deps): bump tim-actions/commit-message-checker-with-regex

    Bumps [tim-actions/commit-message-checker-with-regex](https://github.com/tim-actions/commit-message-checker-with-regex) from 0.3.1 to 0.3.2.
    - [Release notes](https://github.com/tim-actions/commit-message-checker-with-regex/releases)
    - [Commits](tim-actions/commit-message-checker-with-regex@v0.3.1...v0.3.2)
    
    ---
    updated-dependencies:
    - dependency-name: tim-actions/commit-message-checker-with-regex
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    (cherry picked from commit fe6f33b)
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    dependabot[bot] authored and kolyshkin committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    cb2d85d View commit details
    Browse the repository at this point in the history
  4. build(deps): bump actions/checkout from 3 to 4

    Same as commit 2d0cd0b in main branch.
    
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    b368445 View commit details
    Browse the repository at this point in the history
  5. build(deps): bump actions/setup-go from 4 to 5

    Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
    - [Release notes](https://github.com/actions/setup-go/releases)
    - [Commits](actions/setup-go@v4...v5)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-go
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    (cherry picked from commit e66ba70)
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    dependabot[bot] authored and kolyshkin committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    0d19e78 View commit details
    Browse the repository at this point in the history
  6. ci/gha: switch some jobs to ubuntu-22.04

    This is a partial backport of commits 953e1cc and b32655d
    from the main branch.
    
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    e546dde View commit details
    Browse the repository at this point in the history
  7. CI: run apt with -y

    Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
    (cherry picked from commit 30dc98f)
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    AkihiroSuda authored and kolyshkin committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    8bfc75a View commit details
    Browse the repository at this point in the history
  8. ci/gha: bump golangci/golangci-lint-action to v5

    Since v5 removes caching [1], re-enable setup-go cache.
    
    [1] golangci/golangci-lint-action#1024
    
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    (cherry picked from commit 6bcc736)
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    fb23608 View commit details
    Browse the repository at this point in the history
  9. ci/gha: bump golangci-lint-action from 5 to 6

    Note that github-actions output format is deprecated and no longer supported,
    and it is also no longer needed since setup-go problem matcher already
    handles default golangci-lint output format ("colored-line-number").
    
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    (cherry picked from commit f452f66)
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    4d097af View commit details
    Browse the repository at this point in the history
  10. libct/user: gofumpt -w

    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    65bdf60 View commit details
    Browse the repository at this point in the history
  11. ci/gha: bump golangci-lint to v1.54

    Currently, it is at v1.54.2.
    
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    (cherry picked from commit 17e7e23)
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    327e07e View commit details
    Browse the repository at this point in the history
  12. ci/gha: bump golangci-lint to v1.57

    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    (cherry picked from commit d63018c)
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    ae85f05 View commit details
    Browse the repository at this point in the history
  13. use go mod instead of go get in spec.bats

    Signed-off-by: lifubang <lifubang@acmcoder.com>
    (cherry picked from commit 75e0219)
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    lifubang authored and kolyshkin committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    c488d13 View commit details
    Browse the repository at this point in the history
  14. libct/nsenter: stop blacklisting go 1.22+

    Go 1.23 includes a fix (https://go.dev/cl/587919) so go1.23.x can be
    used. This fix is also backported to 1.22.4, so go1.22.x can also be
    used (when x >= 4). Finally, for glibc >= 2.32 it doesn't really matter.
    
    Add a note about Go 1.22.x > 1.22.4 to README as well.
    
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    (cherry picked from commit e660ef6)
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    4578c6c View commit details
    Browse the repository at this point in the history
  15. ci: switch to go 1.22 as main version

    Now when Go 1.22.4 is out it should no longer be a problem.
    
    Leave Go 1.21 for CentOS testing (CentOS 7 and 8 have older glibc)
    and Dockerfile (Debian 11 have older glibc).
    
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    (cherry picked from commit a3302f2)
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    c9beabc View commit details
    Browse the repository at this point in the history
  16. Dockerfile: bump Debian to 12, Go to 1.21

    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    (cherry picked from commit b74b33c)
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    7219e0a View commit details
    Browse the repository at this point in the history