From dc0a3c779efd4d502d723c3b9ae70fbdc8d14d3c Mon Sep 17 00:00:00 2001 From: Marwan Hawari <59078997+marwanhawari@users.noreply.github.com> Date: Sun, 31 Mar 2024 02:47:14 +0100 Subject: [PATCH] upgrade go from 1.17 to 1.22 (#29) --- .github/workflows/release.yml | 4 ++-- .github/workflows/test.yml | 4 ++-- .gitignore | 3 +++ go.mod | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dc00d8f..ddbfa15 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: - go-version: [1.17] + go-version: [1.22] steps: - uses: actions/checkout@v2 @@ -44,7 +44,7 @@ jobs: name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.17 + go-version: 1.22 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 50b46af..349128a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,7 +3,7 @@ name: test on: push: branches: - - '**' + - main tags-ignore: - v* pull_request: @@ -14,7 +14,7 @@ jobs: strategy: matrix: - go-version: [1.17] + go-version: [1.22] steps: - uses: actions/checkout@v2 diff --git a/.gitignore b/.gitignore index 347279d..68f260e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +# Stew binary +stew + # Binaries for programs and plugins *.exe *.exe~ diff --git a/go.mod b/go.mod index ebd338f..30eb8c9 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/marwanhawari/stew -go 1.17 +go 1.22 require ( github.com/AlecAivazis/survey/v2 v2.3.2