From 1a033b2d1d301dccabfc2754f9d9789e1135fd02 Mon Sep 17 00:00:00 2001 From: Alejandro Durante Date: Mon, 17 Jun 2024 12:05:14 -0300 Subject: [PATCH] chore(go): upgrade go version to 1.22 --- .github/workflows/codeql-analysis.yml | 8 ++++---- .github/workflows/main.yml | 10 +++++----- examples/dynamic_size/go.mod | 2 +- examples/fixed_size/go.mod | 2 +- examples/group_context/go.mod | 2 +- examples/pool_context/go.mod | 2 +- examples/prometheus/go.mod | 2 +- examples/task_group/go.mod | 2 +- go.mod | 2 +- 9 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 7ec38c5..ead9bc2 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -38,11 +38,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -53,7 +53,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -67,4 +67,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a8d080b..4a71eec 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,11 +15,11 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go with: go-version: ${{ matrix.go-version }} - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout - name: Test run: make test codecov: @@ -27,14 +27,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go with: go-version: ${{ matrix.go-version }} - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout - name: Test run: make coverage - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action with: files: coverage.out fail_ci_if_error: true diff --git a/examples/dynamic_size/go.mod b/examples/dynamic_size/go.mod index 206469c..f1a54b4 100644 --- a/examples/dynamic_size/go.mod +++ b/examples/dynamic_size/go.mod @@ -1,6 +1,6 @@ module github.com/alitto/pond/examples/dynamic_size -go 1.21 +go 1.22 require ( github.com/alitto/pond v1.7.1 diff --git a/examples/fixed_size/go.mod b/examples/fixed_size/go.mod index c98c356..885e237 100644 --- a/examples/fixed_size/go.mod +++ b/examples/fixed_size/go.mod @@ -1,6 +1,6 @@ module github.com/alitto/pond/examples/fixed_size -go 1.21 +go 1.22 require ( github.com/alitto/pond v1.7.1 diff --git a/examples/group_context/go.mod b/examples/group_context/go.mod index 53e2ac5..572f3b9 100644 --- a/examples/group_context/go.mod +++ b/examples/group_context/go.mod @@ -1,6 +1,6 @@ module github.com/alitto/pond/examples/group_context -go 1.21 +go 1.22 require ( github.com/alitto/pond v1.7.1 diff --git a/examples/pool_context/go.mod b/examples/pool_context/go.mod index 0d6e03e..90114e1 100644 --- a/examples/pool_context/go.mod +++ b/examples/pool_context/go.mod @@ -1,6 +1,6 @@ module github.com/alitto/pond/examples/pool_context -go 1.21 +go 1.22 require github.com/alitto/pond v1.7.1 diff --git a/examples/prometheus/go.mod b/examples/prometheus/go.mod index 20cc33e..0c6afa8 100644 --- a/examples/prometheus/go.mod +++ b/examples/prometheus/go.mod @@ -1,6 +1,6 @@ module github.com/alitto/pond/examples/fixed_size -go 1.21 +go 1.22 require ( github.com/alitto/pond v1.7.1 diff --git a/examples/task_group/go.mod b/examples/task_group/go.mod index 98ec712..dbaa9ca 100644 --- a/examples/task_group/go.mod +++ b/examples/task_group/go.mod @@ -1,6 +1,6 @@ module github.com/alitto/pond/examples/task_group -go 1.21 +go 1.22 require ( github.com/alitto/pond v1.7.1 diff --git a/go.mod b/go.mod index a306372..533efaa 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/alitto/pond -go 1.21 +go 1.22