mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-11-10 04:27:25 +01:00
Extend workflow to test Go 1.16 and 1.17
This commit is contained in:
parent
fd3c7ed573
commit
862630a218
18
.github/workflows/runonce.yml
vendored
18
.github/workflows/runonce.yml
vendored
@ -2,7 +2,7 @@ name: Run Test
|
|||||||
on: push
|
on: push
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build-1-17:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -18,3 +18,19 @@ jobs:
|
|||||||
|
|
||||||
- name: Run MetricCollector
|
- name: Run MetricCollector
|
||||||
run: ./cc-metric-collector --once --config .github/ci-config.json
|
run: ./cc-metric-collector --once --config .github/ci-config.json
|
||||||
|
build-1-16:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
# See: https://github.com/marketplace/actions/setup-go-environment
|
||||||
|
- name: Setup Golang
|
||||||
|
uses: actions/setup-go@v2.1.5
|
||||||
|
with:
|
||||||
|
go-version: '^1.16.7' # The version AlmaLinux 8.5 uses
|
||||||
|
|
||||||
|
- name: Build MetricCollector
|
||||||
|
run: make
|
||||||
|
|
||||||
|
- name: Run MetricCollector
|
||||||
|
run: ./cc-metric-collector --once --config .github/ci-config.json
|
||||||
|
Loading…
Reference in New Issue
Block a user