diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 48f30c015..ec5dbf047 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,7 +53,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.21' + go-version: '1.22' - name: Build CLI run: make build @@ -135,7 +135,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.21' + go-version: '1.22' - name: Login to DockerHub if: ${{ github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && github.event.inputs.push_image == 'true') }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0a084a9f5..840f75c9c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -99,7 +99,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.21' + go-version: '1.22' cache: true - name: Write coverage profile @@ -118,24 +118,24 @@ jobs: strategy: matrix: os: [ubuntu-22.04, windows-2022, macos-12, macos-14] - go_versions: [ '1.19', '1.20', '1.21' ] + go_versions: [ '1.20', '1.21', '1.22' ] exclude: # Only latest Go version for Windows and MacOS. - os: windows-2022 - go_versions: '1.19' + go_versions: '1.20' - os: windows-2022 - go_versions: '1.20' - - os: macos-12 - go_versions: '1.19' + go_versions: '1.21' - os: macos-12 go_versions: '1.20' - - os: macos-14 - go_versions: '1.19' + - os: macos-12 + go_versions: '1.21' - os: macos-14 go_versions: '1.20' + - os: macos-14 + go_versions: '1.21' # Exclude latest Go version for Ubuntu as Coverage uses it. - os: ubuntu-22.04 - go_versions: '1.21' + go_versions: '1.22' fail-fast: false steps: - uses: actions/checkout@v4