Skip to content

[release-v0.37] docs: fix example in prometheus.exporter.agent #13635

[release-v0.37] docs: fix example in prometheus.exporter.agent

[release-v0.37] docs: fix example in prometheus.exporter.agent #13635

Workflow file for this run

name: Test
on:
# Run tests on main just so the module and build cache can be saved and used
# in PRs. This speeds up the time it takes to test PRs dramatically.
push:
branches:
- main
pull_request:
jobs:
test:
name: Test
strategy:
matrix:
platform: [macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go 1.21
uses: actions/setup-go@v3
with:
go-version: "1.21.0"
cache: true
- name: Test
run: make GO_TAGS="nodocker" test