mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Upgrade go version to match prometheus (and need 1.19 for gomemlimit)
This commit is contained in:
parent
a064ec6fc1
commit
caac4d5071
2
.github/workflows/golangci-lint.yml
vendored
2
.github/workflows/golangci-lint.yml
vendored
|
@ -20,7 +20,7 @@ jobs:
|
|||
- name: install Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: '<1.19'
|
||||
go-version: '>=1.20 <1.21'
|
||||
- name: Install snmp_exporter/generator dependencies
|
||||
run: sudo apt-get update && sudo apt-get -y install libsnmp-dev
|
||||
if: github.repository == 'prometheus/snmp_exporter'
|
||||
|
|
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
@ -11,8 +11,8 @@ jobs:
|
|||
- name: Upgrade golang
|
||||
run: |
|
||||
cd /tmp
|
||||
wget https://dl.google.com/go/go1.18.7.linux-amd64.tar.gz
|
||||
tar -zxvf go1.18.7.linux-amd64.tar.gz
|
||||
wget https://dl.google.com/go/go1.20.3.linux-amd64.tar.gz
|
||||
tar -zxvf go1.20.3.linux-amd64.tar.gz
|
||||
sudo rm -fr /usr/local/go
|
||||
sudo mv /tmp/go /usr/local/go
|
||||
cd -
|
||||
|
|
Loading…
Reference in a new issue