From e1fe9ea737409e4d71efaa65e3caefa42a8fc188 Mon Sep 17 00:00:00 2001 From: Riobard Date: Sun, 20 Oct 2024 17:23:32 +0800 Subject: [PATCH] Bump Go to version 1.23 --- .github/workflows/build.yml | 2 +- .github/workflows/release.yml | 2 +- go.mod | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8ae6685a..33c0386f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,7 +6,7 @@ jobs: steps: - uses: actions/setup-go@v2 with: - go-version: 1.16 + go-version: 1.23 - uses: actions/checkout@v2 - run: make -j all - run: make -j test diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 81b55f33..4cc7c9d7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: 1.16 + go-version: 1.23 - run: make -j upload env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/go.mod b/go.mod index bb50089f..715d8833 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,10 @@ module github.com/shadowsocks/go-shadowsocks2 -go 1.16 +go 1.23 require ( github.com/riobard/go-bloom v0.0.0-20200614022211-cdc8013cb5b3 golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83 ) + +require golang.org/x/sys v0.0.0-20191026070338-33540a1f6037 // indirect