diff --git a/.github/workflows/check-golangci-lint.yml b/.github/workflows/check-golangci-lint.yml index c36ad32..02fb7e9 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 66d470c..3483ac2 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 f4eec27..c769814 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