mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 13:44:05 -08:00
Run tests with go 1.16
Signed-off-by: Marco Pracucci <marco@pracucci.com>
This commit is contained in:
parent
8708b2d086
commit
8b03492104
11
.github/workflows/test.yml
vendored
11
.github/workflows/test.yml
vendored
|
@ -16,7 +16,16 @@ jobs:
|
|||
test:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Upgrade golang
|
||||
run: |
|
||||
cd /tmp
|
||||
wget https://dl.google.com/go/go1.16.8.linux-amd64.tar.gz
|
||||
tar -zxvf go1.16.8.linux-amd64.tar.gz
|
||||
sudo rm -fr /usr/local/go
|
||||
sudo mv /tmp/go /usr/local/go
|
||||
cd -
|
||||
ls -l /usr/bin/go
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v2
|
||||
- name: Run Tests
|
||||
run: make common-test
|
||||
run: GO=/usr/local/go/bin/go make common-test
|
||||
|
|
Loading…
Reference in a new issue