-
Notifications
You must be signed in to change notification settings - Fork 229
52 lines (46 loc) · 1.04 KB
/
ci.yaml
File metadata and controls
52 lines (46 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: CI - Collector Binaries
on:
merge_group:
push:
branches:
- main
- release/*
pull_request:
branches:
- main
- release/*
jobs:
build:
name: Build
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
distro:
- otelcol
- otelcol-contrib
- otelcol-k8s
- otelcol-otlp
- otelcol-ebpf-profiler
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version: "~1.24"
check-latest: true
- name: Tidy go.mod files
run: go mod tidy
- name: Verify
run: make ci
env:
DISTRIBUTIONS: ${{ matrix.distro }}
build-result:
name: "Build Result"
runs-on: ubuntu-latest
needs: build
steps:
- run: echo "Build for all distros succeeded"