install go the old fashion way
Some checks failed
/ build (push) Failing after 5s

This commit is contained in:
Finn 2024-08-04 23:27:25 -07:00
parent 47f36b4704
commit e8587be1df

View file

@ -11,12 +11,10 @@ jobs:
container:
image: ghcr.io/catthehacker/ubuntu:runner-latest
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Build apcupsd_exporter
run: |
set -exuo pipefail
sudo apt-get update && sudo apt-get install -y golang-go
git clone https://github.com/mdlayher/apcupsd_exporter.git
cd apcupsd_exporter
go build .