use go-toolkit for RPM builds

This commit is contained in:
Thomas Roehl 2024-12-20 18:49:28 +01:00
parent 3d70c8afc9
commit c01096c157

View File

@ -115,10 +115,12 @@ jobs:
fetch-depth: 0 fetch-depth: 0
# See: https://github.com/marketplace/actions/setup-go-environment # See: https://github.com/marketplace/actions/setup-go-environment
# - name: Setup Golang
# uses: actions/setup-go@v5
# with:
# go-version: 'stable'
- name: Setup Golang - name: Setup Golang
uses: actions/setup-go@v5 run: dnf --assumeyes --disableplugin=subscription-manager install go-toolkit
with:
go-version: 'stable'
- name: RPM build MetricCollector - name: RPM build MetricCollector
id: rpmbuild id: rpmbuild
@ -153,10 +155,12 @@ jobs:
fetch-depth: 0 fetch-depth: 0
# See: https://github.com/marketplace/actions/setup-go-environment # See: https://github.com/marketplace/actions/setup-go-environment
# - name: Setup Golang
# uses: actions/setup-go@v5
# with:
# go-version: 'stable'
- name: Setup Golang - name: Setup Golang
uses: actions/setup-go@v5 run: dnf --assumeyes --disableplugin=subscription-manager install go-toolkit
with:
go-version: 'stable'
- name: RPM build MetricCollector - name: RPM build MetricCollector
id: rpmbuild id: rpmbuild
@ -189,10 +193,12 @@ jobs:
fetch-depth: 0 fetch-depth: 0
# See: https://github.com/marketplace/actions/setup-go-environment # See: https://github.com/marketplace/actions/setup-go-environment
# - name: Setup Golang
# uses: actions/setup-go@v5
# with:
# go-version: 'stable'
- name: Setup Golang - name: Setup Golang
uses: actions/setup-go@v5 run: dnf --assumeyes --disableplugin=subscription-manager install go-toolkit
with:
go-version: 'stable'
- name: RPM build MetricCollector - name: RPM build MetricCollector
id: rpmbuild id: rpmbuild
@ -224,10 +230,12 @@ jobs:
fetch-depth: 0 fetch-depth: 0
# See: https://github.com/marketplace/actions/setup-go-environment # See: https://github.com/marketplace/actions/setup-go-environment
# - name: Setup Golang
# uses: actions/setup-go@v5
# with:
# go-version: 'stable'
- name: Setup Golang - name: Setup Golang
uses: actions/setup-go@v5 run: dnf --assumeyes --disableplugin=subscription-manager install go-toolkit
with:
go-version: 'stable'
- name: RPM build MetricCollector - name: RPM build MetricCollector
id: rpmbuild id: rpmbuild