mirror of
https://gitee.com/johng/gf
synced 2026-06-06 16:21:40 +08:00
chore: upgrade dependencies to latest versions and fix security vulne… (#4237)
This PR includes the following updates and fixes: - **Dependency upgrades**: Updated all dependencies in `go.mod` to their latest versions to ensure compatibility and leverage the latest features and fixes. - **Security fixes**: - Resolved known vulnerabilities in `golang.org/x/net` by upgrading to the latest secure version. - Addressed security issues in `golang.org/x/crypto` by upgrading to the latest secure version. These changes improve the overall security and stability of the project. Please review the changes and ensure compatibility with the updated dependencies. --------- Co-authored-by: hailaz <739476267@qq.com>
This commit is contained in:
2
.github/workflows/ci-main.yml
vendored
2
.github/workflows/ci-main.yml
vendored
@ -40,7 +40,7 @@ jobs:
|
||||
# 1. Update the `LATEST_GO_VERSION` env variable.
|
||||
# 2. Update the `Report Coverage` action.
|
||||
# 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
|
||||
go-version: [ "1.22", "1.23" ]
|
||||
go-version: [ "1.23", "1.24" ]
|
||||
goarch: [ "386", "amd64" ]
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
4
.github/workflows/ci-sub.yml
vendored
4
.github/workflows/ci-sub.yml
vendored
@ -30,7 +30,7 @@ concurrency:
|
||||
env:
|
||||
TZ: "Asia/Shanghai"
|
||||
# for unit testing cases of some components that only execute on the latest go version.
|
||||
LATEST_GO_VERSION: "1.23"
|
||||
LATEST_GO_VERSION: "1.24"
|
||||
|
||||
jobs:
|
||||
code-test:
|
||||
@ -40,7 +40,7 @@ jobs:
|
||||
# When adding new go version to the list, make sure:
|
||||
# 1. Update the `LATEST_GO_VERSION` env variable.
|
||||
# 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
|
||||
go-version: [ "1.22", "1.23" ]
|
||||
go-version: [ "1.23", "1.24" ]
|
||||
goarch: [ "386", "amd64" ]
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
2
.github/workflows/sonarcloud.yaml
vendored
2
.github/workflows/sonarcloud.yaml
vendored
@ -17,7 +17,7 @@ permissions: read
|
||||
jobs:
|
||||
analysis:
|
||||
name: Scorecards analysis
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
permissions:
|
||||
# Needed to upload the results to code-scanning dashboard.
|
||||
security-events: write
|
||||
|
||||
Reference in New Issue
Block a user