Update runonce.yml with Golang 1.20

This commit is contained in:
Thomas Gruber 2023-07-17 15:23:21 +02:00 committed by GitHub
parent 547e2546c7
commit a7e8a1dfb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,3 +58,29 @@ jobs:
- name: Run MetricCollector once
run: ./cc-metric-collector --once --config .github/ci-config.json
#
# Job build-1-20
# Build on latest Ubuntu using golang version 1.20
#
build-1-20:
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.20'
- name: Build MetricCollector
run: make
- name: Run MetricCollector once
run: ./cc-metric-collector --once --config .github/ci-config.json