Skip to content

release cgo disabled builds (#110) #363

release cgo disabled builds (#110)

release cgo disabled builds (#110) #363

Workflow file for this run

# SPDX-FileCopyrightText: 2023 Rivos Inc.
#
# SPDX-License-Identifier: Apache-2.0
name: Verify exporter
on: push
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- uses: actions/setup-go@v5
with:
go-version: '>=1.20'
- uses: pre-commit/[email protected]
test:
runs-on: ubuntu-latest
needs: pre-commit
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- uses: actions/setup-go@v5
- run: pip install psutil requests
- run: CGO_ENABLED=0 go test ./exporter