From 16b93729887cc5f039c89b1f2f9ae8d6ce63c2dc Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Sun, 27 Oct 2024 10:58:00 -0400 Subject: [PATCH] chore: bump to go1.23.2 (#271) * chore: bump to go1.23.2 * chore: update `actions/setup-go` to use go.mod * fix: update order btw setup-go and checkout steps Signed-off-by: Rui Chen --- .github/workflows/check-golangci-lint.yml | 15 +++++---------- .github/workflows/release.yml | 2 +- go.mod | 2 +- 3 files changed, 7 insertions(+), 12 deletions(-) diff --git a/.github/workflows/check-golangci-lint.yml b/.github/workflows/check-golangci-lint.yml index c36ad32c..02fb7e9e 100644 --- a/.github/workflows/check-golangci-lint.yml +++ b/.github/workflows/check-golangci-lint.yml @@ -15,16 +15,11 @@ jobs: name: lint runs-on: ubuntu-20.04 steps: - - - uses: actions/setup-go@v5 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: - go-version: 1.18 - - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: golangci-lint + go-version-file: "go.mod" + - name: golangci-lint uses: golangci/golangci-lint-action@v6 with: - version: v1.55 \ No newline at end of file + version: v1.61 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 66d470cf..3483ac20 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.23 + go-version-file: "go.mod" - name: Install Cosign uses: sigstore/cosign-installer@v3.7.0 diff --git a/go.mod b/go.mod index f4eec27f..c769814c 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/tofuutils/tenv/v3 -go 1.23 +go 1.23.2 require ( github.com/BurntSushi/toml v1.4.0