Skip to content

modify workflows for go 1.23 #366

modify workflows for go 1.23

modify workflows for go 1.23 #366

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.23'
- 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
with:
go-version: '>=1.23'
- run: pip install psutil requests
- run: CGO_ENABLED=0 go test ./exporter