From a2f0bc37d4174b73b5f66396d9b14097baa2d88f Mon Sep 17 00:00:00 2001 From: Thomas Roehl Date: Wed, 3 Aug 2022 17:06:28 +0200 Subject: [PATCH] Add runonce job for Golang 1.19 --- .github/workflows/runonce.yml | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/.github/workflows/runonce.yml b/.github/workflows/runonce.yml index 2036179..5218145 100644 --- a/.github/workflows/runonce.yml +++ b/.github/workflows/runonce.yml @@ -31,4 +31,30 @@ jobs: run: make - name: Run MetricCollector once - run: ./cc-metric-collector --once --config .github/ci-config.json \ No newline at end of file + run: ./cc-metric-collector --once --config .github/ci-config.json + + # + # Job build-1-19 + # Build on latest Ubuntu using golang version 1.19 + # + build-1-19: + 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.19' + + - name: Build MetricCollector + run: make + + - name: Run MetricCollector once + run: ./cc-metric-collector --once --config .github/ci-config.json