From 9325c9253394ed1cbdd3b1bed637c6c2744014d4 Mon Sep 17 00:00:00 2001 From: Nihal Gonsalves Date: Mon, 14 Aug 2023 11:55:10 +0200 Subject: [PATCH] chore: bump go to 1.21 --- .github/workflows/test.yml | 8 ++++---- CONTRIBUTING.md | 2 +- README.md | 2 +- go.mod | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 829bf0d0..e78f6669 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: test: strategy: matrix: - go-version: [1.20.x] + go-version: [1.21.x] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: @@ -31,7 +31,7 @@ jobs: test-integrity: strategy: matrix: - go-version: [1.20.x] + go-version: [1.21.x] os: [ubuntu-latest, macos-latest] runs-on: ${{ matrix.os }} env: @@ -66,7 +66,7 @@ jobs: - name: Install Go uses: actions/setup-go@v2 with: - go-version: 1.20.x + go-version: 1.21.x - name: Checkout code uses: actions/checkout@v2 - name: Build binaries @@ -91,5 +91,5 @@ jobs: steps: - uses: coverallsapp/github-action@v2 with: - carryforward: "integration-1.20.x ubuntu-latest,integration-1.20.x macos-latest,1.20.x ubuntu-latest,1.20.x macos-latest,1.20.x windows-latest" + carryforward: "integration-1.21.x ubuntu-latest,integration-1.21.x macos-latest,1.21.x ubuntu-latest,1.21.x macos-latest,1.21.x windows-latest" parallel-finished: true diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 29c8cf08..d70c65f8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,7 +4,7 @@ First off, thanks for taking the time to contribute! Feel free to make Pull Requ # Requirements -Go >= 1.20.0 +Go >= 1.21.0 # Process diff --git a/README.md b/README.md index 139ef3ce..2d2a5ce4 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Fast and powerful Git hooks manager for Node.js, Ruby or any other type of proje ## Install -With **Go** (>= 1.20): +With **Go** (>= 1.21): ```bash go install github.com/evilmartians/lefthook@latest diff --git a/go.mod b/go.mod index 0fbe498a..efd10656 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/evilmartians/lefthook -go 1.20 +go 1.21 require ( github.com/MakeNowJust/heredoc v1.0.0