diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index 2437fdb..ccc4776 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -16,7 +16,7 @@ jobs: fetch-depth: 0 - name: Setup golang - uses: actions/setup-go@v6 + uses: actions/setup-go@v7 with: go-version-file: go.mod diff --git a/Makefile b/Makefile index 1ec9295..2761a0d 100644 --- a/Makefile +++ b/Makefile @@ -50,7 +50,7 @@ test-watch: ## Run unit tests in watch mode tools-get: ## Get project tools required go install golang.org/x/vuln/cmd/govulncheck@latest go install github.com/securego/gosec/v2/cmd/gosec@latest - go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest + go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.13.2 tools-dev: ## get dev tools go install github.com/mitranim/gow@latest diff --git a/README.md b/README.md index 1a40e09..eecadf6 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # env -simple env vars, checks if the env var exists or returns the zero value +simple env vars, checks if the env var exists or returns the zero value. credit goes to https://github.com/17twenty for initial authoring diff --git a/go.mod b/go.mod index a72044e..6197add 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ module github.com/code-gorilla-au/env -go 1.25.0 +go 1.27.1 require github.com/joho/godotenv v1.5.1