diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index db9748b..0d47bf4 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -7,13 +7,13 @@ jobs: test: runs-on: ubuntu-latest steps: + - name: Checkout code + uses: actions/checkout@v7 + - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v7 with: - go-version: "1.22" - - - name: Checkout code - uses: actions/checkout@v2 + go-version-file: go.mod - name: Test run: go test ./... diff --git a/README.md b/README.md index 48cd472..f1e7ca1 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ during return to help identify the error source during debugging. ## Install -Go `>= v1.22.0` +Go `>= v1.24.0` ```bash $ go install github.com/tomarrell/wrapcheck/v2/cmd/wrapcheck@v2 ```