-
Notifications
You must be signed in to change notification settings - Fork 21
43 lines (40 loc) · 1015 Bytes
/
prom-fed-ci.yaml
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
name: "[prom-fed] ci"
on:
workflow_call:
pull_request:
paths-ignore:
- 'docs/**'
- 'scripts/**'
- '*.md'
- '*.dapper'
- '.gitignore'
- 'CODEOWNERS'
- 'LICENSE'
- 'Makefile'
push:
branches:
- main
env:
YQ_VERSION : v4.25.1
CGO_ENABLED : 0
jobs:
build:
strategy:
matrix:
arch:
- x64
- arm64
runs-on : runs-on,image=ubuntu22-full-${{ matrix.arch }},runner=4cpu-linux-${{ matrix.arch }},run-id=${{ github.run_id }}
steps:
- uses: actions/checkout@v4
- name : Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.22'
- name : Install YQ
run: |
sudo wget https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_${{ matrix.arch == 'x64' && 'amd64' || matrix.arch }} -O /usr/bin/yq && sudo chmod +x /usr/bin/yq;
- name : Install helm
uses: azure/setup-helm@v3
- name: Run CI
run: make ci