mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-26 15:29:04 +01:00
Remove Golang version 1.16 an 1.17 from Action. Latest commits require Golang 1.18
This commit is contained in:
parent
addbfd40a1
commit
4fa37a58f2
52
.github/workflows/runonce.yml
vendored
52
.github/workflows/runonce.yml
vendored
@ -32,55 +32,3 @@ jobs:
|
|||||||
|
|
||||||
- name: Run MetricCollector once
|
- name: Run MetricCollector once
|
||||||
run: ./cc-metric-collector --once --config .github/ci-config.json
|
run: ./cc-metric-collector --once --config .github/ci-config.json
|
||||||
|
|
||||||
#
|
|
||||||
# Job build-1-17
|
|
||||||
# Build on latest Ubuntu using golang version 1.17
|
|
||||||
#
|
|
||||||
build-1-17:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
# See: https://github.com/marketplace/actions/checkout
|
|
||||||
# Checkout git repository and submodules
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
submodules: recursive
|
|
||||||
|
|
||||||
# See: https://github.com/marketplace/actions/setup-go-environment
|
|
||||||
- name: Setup Golang
|
|
||||||
uses: actions/setup-go@v3
|
|
||||||
with:
|
|
||||||
go-version: '1.17.7'
|
|
||||||
|
|
||||||
- name: Build MetricCollector
|
|
||||||
run: make
|
|
||||||
|
|
||||||
- name: Run MetricCollector once
|
|
||||||
run: ./cc-metric-collector --once --config .github/ci-config.json
|
|
||||||
|
|
||||||
#
|
|
||||||
# Job build-1-16
|
|
||||||
# Build on latest Ubuntu using golang version 1.16
|
|
||||||
#
|
|
||||||
build-1-16:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
# See: https://github.com/marketplace/actions/checkout
|
|
||||||
# Checkout git repository and submodules
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
submodules: recursive
|
|
||||||
|
|
||||||
# See: https://github.com/marketplace/actions/setup-go-environment
|
|
||||||
- name: Setup Golang
|
|
||||||
uses: actions/setup-go@v3
|
|
||||||
with:
|
|
||||||
go-version: '1.16.7' # The version AlmaLinux 8.5 uses
|
|
||||||
|
|
||||||
- name: Build MetricCollector
|
|
||||||
run: make
|
|
||||||
|
|
||||||
- name: Run MetricCollector once
|
|
||||||
run: ./cc-metric-collector --once --config .github/ci-config.json
|
|
||||||
|
Loading…
Reference in New Issue
Block a user