Skip to content

Config template and telemetry fixes (#377) #617

Config template and telemetry fixes (#377)

Config template and telemetry fixes (#377) #617

Workflow file for this run

name: build-test
on:
pull_request:
branches:
- main
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-4c-16GB-150GB
container: debian:bullseye-slim
environment: build-test
steps:
- uses: actions/checkout@v4
- name: install certs and build-essential (required by CGO)
run: apt-get update && apt-get install -y ca-certificates build-essential
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '^1.22'
- name: Cache Go modules
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build
run: go build -v ./src/...