Fix: Updated k8s version and GitHub action workflow version

Merged
VI
1y ago
+308-340

Description of your changes

Updated the k8s version and the GitHub action workflow version

I have:

  • Read and followed KubeVela's contribution process.
  • Related Docs updated properly. In a new feature or configuration option, an update to the documentation is necessary.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

Summary by cubic

Upgraded Kubernetes dependencies to v1.31.1 and updated GitHub Actions workflows to use the latest action versions.

  • Dependencies

    • Bumped k8s-related Go modules and other dependencies to latest versions.
    • Updated workflow tools (e.g., setup-go, checkout, codecov) to latest major versions.
  • Refactors

    • Changed admission decoder type from pointer to value in webhook handlers.