diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 985beb80d8..53e3705333 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,9 +27,9 @@ jobs: git submodule update --init --recursive --force git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: - go-version: 1.21.x + go-version: 1.22.x - name: Install dependencies on Linux if: runner.os == 'Linux' @@ -59,9 +59,9 @@ jobs: git submodule update --init --recursive --force git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: - go-version: 1.21.x + go-version: 1.22.x - name: Install dependencies on Linux if: runner.os == 'Linux' @@ -87,9 +87,9 @@ jobs: git submodule update --init --recursive --force git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: - go-version: 1.21.x + go-version: 1.22.x - name: Install dependencies on Linux if: runner.os == 'Linux' @@ -138,9 +138,9 @@ jobs: git submodule update --init --recursive --force git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: - go-version: 1.21.x + go-version: 1.22.x - name: Install dependencies on Linux if: runner.os == 'Linux' @@ -194,9 +194,9 @@ jobs: git submodule update --init --recursive --force git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: - go-version: 1.21.x + go-version: 1.22.x - name: Checkout matic-cli uses: actions/checkout@v3 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 6e8f8e0ba8..17456643ad 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -28,7 +28,7 @@ jobs: uses: actions/checkout@v3 - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version-file: go.mod diff --git a/.github/workflows/govuln.yml b/.github/workflows/govuln.yml index 3f508015c7..d4aadefc8f 100644 --- a/.github/workflows/govuln.yml +++ b/.github/workflows/govuln.yml @@ -13,7 +13,7 @@ jobs: env: DEBUG: "true" with: - go-version: 1.21 + go-version: 1.22 package: ./... github-token: ${{ secrets.GITHUB_TOKEN }} fail-on-vuln: true diff --git a/.github/workflows/packager.yml b/.github/workflows/packager.yml index 9cfc1ca3fe..2b0112f23f 100644 --- a/.github/workflows/packager.yml +++ b/.github/workflows/packager.yml @@ -21,7 +21,7 @@ jobs: - name: Set up Go uses: actions/setup-go@master with: - go-version: 1.21.x + go-version: 1.22.x - name: Adding TAG to ENV run: echo "GIT_TAG=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4e97f7d162..57ccd53910 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: - name: Set up Go uses: actions/setup-go@master with: - go-version: 1.21.x + go-version: 1.22.x - name: Prepare id: prepare