Attempt to use newer golang for smartctl_exporter build
Some checks failed
/ build (push) Failing after 2s

This commit is contained in:
Finn 2024-08-05 00:13:52 -07:00
parent 65e0d387ba
commit a9878fcf10

View file

@ -7,14 +7,14 @@ on:
jobs:
build:
runs-on: docker
container:
image: ghcr.io/catthehacker/ubuntu:runner-latest
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go
with:
go-version: '1.22'
- name: Build smartctl_exporter
run: |
set -ex
sudo apt-get update && sudo apt-get install -y golang-go
git clone https://github.com/prometheus-community/smartctl_exporter
cd smartctl_exporter
git checkout v0.12.0