From f63a42012923aff71f26e06f0920275fec1ceedc Mon Sep 17 00:00:00 2001 From: Alexei Yuzhakov Date: Tue, 16 Apr 2024 12:19:20 +0100 Subject: [PATCH] TECH Switch to Go 1.22 --- .github/workflows/release.yml | 6 +++--- .github/workflows/test.yml | 12 ++++++------ README.md | 2 +- go.mod | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1bef22d..4887d70 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,12 +10,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: - go-version: ^1.21 + go-version: ^1.22 - name: Release uses: goreleaser/goreleaser-action@v4 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4a62878..23f6e52 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,17 +9,17 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: - go-version: ^1.21 + go-version: ^1.22 - name: Test run: make test - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + uses: codecov/codecov-action@v5 + with: + token: ${{ secrets.CODECOV_TOKEN }} diff --git a/README.md b/README.md index 9c73a17..16644ed 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ environment variable. To test it one can use the following command: plesk version ``` -Alternative way if you have Go 1.21+ installed: +Alternative way if you have Go 1.22+ installed: ``` go install github.com/plesk/pleskapp/plesk diff --git a/go.mod b/go.mod index e8c07b3..d8cff2a 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/plesk/pleskapp/plesk -go 1.21 +go 1.22 require ( github.com/go-resty/resty/v2 v2.12.0