Update GitHub actions

This commit is contained in:
Holger Obermaier 2022-01-24 15:55:15 +01:00
parent 8d314ecb19
commit 7953629940
2 changed files with 17 additions and 11 deletions

View File

@ -21,7 +21,10 @@
"topprocs", "topprocs",
"nvidia", "nvidia",
"diskstat", "diskstat",
"ipmistat" "ipmistat",
"gpfs",
"cpufreq",
"cpufreq_cpuinfo"
], ],
"default_tags": { "default_tags": {
"cluster": "testcluster" "cluster": "testcluster"
@ -30,20 +33,20 @@
"type": "none" "type": "none"
}, },
"collect_config": { "collect_config": {
"topprocs" : { "topprocs": {
"num_procs": 2 "num_procs": 2
}, },
"tempstat": { "tempstat": {
"tag_override": { "tag_override": {
"hwmon0" : { "hwmon0": {
"type" : "socket", "type": "socket",
"type-id" : "0" "type-id": "0"
}, },
"hwmon1" : { "hwmon1": {
"type" : "socket", "type": "socket",
"type-id" : "1" "type-id": "1"
} }
} }
} }
} }
} }

View File

@ -7,8 +7,11 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
# See: https://github.com/marketplace/actions/setup-go-environment
- name: Setup Golang - name: Setup Golang
uses: actions/setup-go@v2.1.4 uses: actions/setup-go@v2.1.5
with:
go-version: '^1.17.6'
- name: Build MetricCollector - name: Build MetricCollector
run: make run: make