Attempt to use newer golang for smartctl_exporter build
Some checks failed
/ build (push) Failing after 2s
Some checks failed
/ build (push) Failing after 2s
This commit is contained in:
parent
65e0d387ba
commit
a9878fcf10
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue