From 52684ad01a31d7e8f95484f3afccc82e457c8062 Mon Sep 17 00:00:00 2001 From: Gadi Naor Date: Sun, 19 May 2024 14:36:25 +0300 Subject: [PATCH] - Update to go 1.22 --- .github/workflows/build.yml | 4 ++-- .github/workflows/release.yaml | 4 ++-- go.mod | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6dac27e..f4f2fd1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,9 +10,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: - go-version: 1.19 + go-version: '1.22' id: go - name: Check out code into the Go module directory diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ebd7df5..a322c38 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -15,9 +15,9 @@ jobs: - name: Unshallow run: git fetch --prune --unshallow - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: - go-version: 1.19 + go-version: '1.22' - name: Build & Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/go.mod b/go.mod index 558ba62..693de66 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/alcideio/rbac-tool -go 1.19 +go 1.22 require ( github.com/Masterminds/sprig v2.22.0+incompatible