Merge pull request #1084 from percona/PMM-7-go-bump

PMM-7 Go bump.
This commit is contained in:
Sveta Smirnova
2026-03-12 15:27:31 +03:00
committed by GitHub
3 changed files with 4 additions and 4 deletions

View File

@@ -20,14 +20,14 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: '1.25'
go-version-file: ${{ github.workspace }}/go.mod
- name: Build
run: cd src/go; make linux-amd64; cd ../../
- name: Build the Docker image
run: echo "FROM oraclelinux:9-slim" > Dockerfile; echo "RUN microdnf -y update" >> Dockerfile; echo "COPY bin/* /usr/bin/" >> Dockerfile; docker build . --file Dockerfile --tag percona-toolkit:${{ github.sha }}
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@0.34.0
uses: aquasecurity/trivy-action@0.35.0
with:
image-ref: 'percona-toolkit:${{ github.sha }}'
format: 'table'

View File

@@ -170,7 +170,7 @@ install_go() {
#rm -rf /usr/local/go /usr/local/go1.8 /usr/local/go1.9
#mv go1.9 /usr/local/
#ln -s /usr/local/go1.9 /usr/local/go
GO_VERSION=1.25.5
GO_VERSION=1.25.8
if [ x"$ARCH" = "xx86_64" ]; then
GO_ARCH="amd64"
elif [ x"$ARCH" = "xaarch64" ]; then

2
go.mod
View File

@@ -1,6 +1,6 @@
module github.com/percona/percona-toolkit
go 1.25.5
go 1.25.8
require (
github.com/AlekSi/pointer v1.2.0