mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
update go version
This commit is contained in:
committed by
Dan Christian Bogos
parent
19675d6b20
commit
b1d51cb349
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
@@ -44,7 +44,7 @@ jobs:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: "1.24.x"
|
||||
go-version: "1.25.x"
|
||||
|
||||
- name: Go Format
|
||||
run: gofmt -s -w . && git diff --exit-code
|
||||
|
||||
2
.github/workflows/integration_tests.yaml
vendored
2
.github/workflows/integration_tests.yaml
vendored
@@ -41,7 +41,7 @@ jobs:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: "1.24.x"
|
||||
go-version: "1.25.x"
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
##################### Golang Vars #############################
|
||||
###############################################################
|
||||
# Go language SDK version number
|
||||
golang_version: '1.24'
|
||||
golang_version: '1.25'
|
||||
go_version_target: "go version go{{ golang_version }} linux/amd64"
|
||||
# Mirror to download the Go language SDK redistributable package from
|
||||
golang_mirror: 'https://storage.googleapis.com/golang'
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
##################### Golang Vars #############################
|
||||
###############################################################
|
||||
# Go language SDK version number
|
||||
golang_version: '1.24'
|
||||
golang_version: '1.25'
|
||||
go_version_target: "go version go{{ golang_version }} linux/amd64"
|
||||
# Mirror to download the Go language SDK redistributable package from
|
||||
golang_mirror: 'https://storage.googleapis.com/golang'
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
---
|
||||
go_version: 1.24.2
|
||||
go_version: 1.25.3
|
||||
go_platform: linux
|
||||
go_arch: amd64
|
||||
go_tarball: go{{ go_version }}.{{ go_platform }}-{{ go_arch }}.tar.gz
|
||||
go_download_url: https://dl.google.com/go/{{ go_tarball }}
|
||||
go_checksum: 68097bd680839cbc9d464a0edce4f7c333975e27a90246890e9f1078c7e702ad
|
||||
go_checksum: 0335f314b6e7bfe08c3d0cfaa7c19db961b7b99fb20be62b0a826c992ad14e0f
|
||||
install_go: true
|
||||
|
||||
# Cleaning caches assumes go is available (either installed by the role or pre-existing)
|
||||
|
||||
@@ -74,7 +74,7 @@ RUN apt-get clean && \
|
||||
RUN touch /logs/mariadb.log /logs/mariadb_script.log /logs/rabbitmq.log
|
||||
RUN chmod 777 /logs/mariadb.log /logs/mariadb_script.log /logs/rabbitmq.log
|
||||
|
||||
RUN wget -O go.tgz "https://storage.googleapis.com/golang/go1.24.2.linux-amd64.tar.gz" --progress=dot:giga
|
||||
RUN wget -O go.tgz "https://storage.googleapis.com/golang/go1.25.3.linux-amd64.tar.gz" --progress=dot:giga
|
||||
RUN tar -C /usr/local -xzf go.tgz
|
||||
RUN rm go.tgz
|
||||
|
||||
|
||||
@@ -106,8 +106,8 @@ To install the latest Go version at the time of writing this documentation, run:
|
||||
# sudo dnf install -y wget tar for .rpm distros
|
||||
sudo rm -rf /usr/local/go
|
||||
cd /tmp
|
||||
wget https://go.dev/dl/go1.24.2.linux-amd64.tar.gz
|
||||
sudo tar -C /usr/local -xzf go1.24.2.linux-amd64.tar.gz
|
||||
wget https://go.dev/dl/go1.25.3.linux-amd64.tar.gz
|
||||
sudo tar -C /usr/local -xzf go1.25.3.linux-amd64.tar.gz
|
||||
export PATH=$PATH:/usr/local/go/bin
|
||||
|
||||
Installation:
|
||||
|
||||
Reference in New Issue
Block a user