cc-metric-collector/.github/workflows/runonce.yml

37 lines
894 B
YAML
Raw Normal View History

name: Run Test
on: push
jobs:
build-1-17:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
2022-01-24 15:55:15 +01:00
# See: https://github.com/marketplace/actions/setup-go-environment
- name: Setup Golang
2022-01-24 15:55:15 +01:00
uses: actions/setup-go@v2.1.5
with:
go-version: '^1.17.6'
- name: Build MetricCollector
run: make
- name: Run MetricCollector
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