diff --git a/.github/workflows/run_unit_tests.yml b/.github/workflows/run_unit_tests.yml index 897e21035..0118dd7bc 100644 --- a/.github/workflows/run_unit_tests.yml +++ b/.github/workflows/run_unit_tests.yml @@ -13,10 +13,10 @@ jobs: Golang-Tests: runs-on: ubuntu-latest steps: - - name: Setup Go 1.22.5 + - name: Setup Go 1.23.5 uses: actions/setup-go@v4 with: - go-version: '1.22.5' + go-version: '1.23.5' - name: Check out repository code uses: actions/checkout@v2 - name: Run unit tests diff --git a/.pipelines/azure_pipeline_mergedbranches.yaml b/.pipelines/azure_pipeline_mergedbranches.yaml index 75945ea67..382f68b40 100644 --- a/.pipelines/azure_pipeline_mergedbranches.yaml +++ b/.pipelines/azure_pipeline_mergedbranches.yaml @@ -332,7 +332,7 @@ jobs: # Find in cache or download a specific version of Go and add it to the PATH. - task: GoTool@0 inputs: - version: '1.22.5' + version: '1.23.5' - bash: | cd $(System.DefaultWorkingDirectory)/build/linux/ diff --git a/scripts/build/windows/install-build-pre-requisites.ps1 b/scripts/build/windows/install-build-pre-requisites.ps1 index 0f5ed98ef..5a37fe78a 100644 --- a/scripts/build/windows/install-build-pre-requisites.ps1 +++ b/scripts/build/windows/install-build-pre-requisites.ps1 @@ -13,8 +13,8 @@ function Install-Go { exit 1 } - $url = "https://go.dev/dl/go1.22.5.windows-amd64.msi" - $output = Join-Path -Path $tempGo -ChildPath "go1.22.5.windows-amd64.msi" + $url = "https://go.dev/dl/go1.23.5.windows-amd64.msi" + $output = Join-Path -Path $tempGo -ChildPath "go1.23.5.windows-amd64.msi" Write-Host("downloading go msi into directory path : " + $output + " ...") Invoke-WebRequest -Uri $url -OutFile $output -ErrorAction Stop Write-Host("downloading of go msi into directory path : " + $output + " completed") @@ -146,7 +146,7 @@ function Install-cmetrics() { git submodule sync git -c protocol.version=2 submodule update --init --force --depth=1 git submodule foreach git config --local gc.auto 0 - cmake --fresh -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX="$destinationPath" . + cmake --fresh -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX="$destinationPath" . make make install } @@ -155,7 +155,7 @@ function Install-cmetrics() { # https://stackoverflow.com/questions/28682642/powershell-why-is-using-invoke-webrequest-much-slower-than-a-browser-download $ProgressPreference = 'SilentlyContinue' -Write-Host "Install GO 1.22.5 version" +Write-Host "Install GO 1.23.5 version" Install-Go Write-Host "Install Build dependencies" Build-Dependencies diff --git a/source/plugins/go/input/go.mod b/source/plugins/go/input/go.mod index 68de6b2f2..cb769965a 100644 --- a/source/plugins/go/input/go.mod +++ b/source/plugins/go/input/go.mod @@ -1,8 +1,6 @@ module Docker-Provider/source/plugins/go/input -go 1.21.0 - -toolchain go1.22.5 +go 1.23.5 require github.com/calyptia/plugin v1.0.2 diff --git a/source/plugins/go/src/go.mod b/source/plugins/go/src/go.mod index 09bc58e7a..c3004c32b 100644 --- a/source/plugins/go/src/go.mod +++ b/source/plugins/go/src/go.mod @@ -1,8 +1,6 @@ module Docker-Provider/source/plugins/go/src -go 1.21 - -toolchain go1.22.5 +go 1.23.5 require ( github.com/Microsoft/go-winio v0.6.1