Skip to content

Bump actions/setup-go from 6.5.0 to 7.0.0 #21

Bump actions/setup-go from 6.5.0 to 7.0.0

Bump actions/setup-go from 6.5.0 to 7.0.0 #21

Workflow file for this run

---
name: Integration
on:
pull_request:
push:
branches: [main, master, 'release-*']
tags: ['v*']
permissions:
contents: read
jobs:
integration:
name: Integration test
runs-on: ubuntu-latest
services:
node-exporter:
image: quay.io/prometheus/node-exporter:latest
ports:
- 9100:9100
env:
PROM_VERSION: 3.12.0
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: 1.26.x
- run: make build
- run: curl -sSf -L https://github.com/prometheus/prometheus/releases/download/v${PROM_VERSION}/prometheus-${PROM_VERSION}.linux-amd64.tar.gz | tar xz
- run: sudo cp -v prometheus-${PROM_VERSION}.linux-amd64/prometheus /usr/bin/prometheus
- run: sed -i "s/node-exporter/${HOSTNAME}/" ./end-to-end/prometheus.yml
- run: cat ./end-to-end/prometheus.yml
- run: ./end-to-end/test.sh