Skip to content

Add a snmp_context argument to SNMP exporter #16511

Add a snmp_context argument to SNMP exporter

Add a snmp_context argument to SNMP exporter #16511

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.
# (More information on https://docs.github.com/en/[email protected]/actions/using-workflows/caching-dependencies-to-speed-up-workflows)
push:
branches:
- main
pull_request:
jobs:
test:
name: Test
strategy:
matrix:
platform: [macos-latest-xlarge]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: "1.22"
cache: true
- name: Test
run: make GO_TAGS="nodocker" test