Skip to content

[main] Update golang 1.22 #52

[main] Update golang 1.22

[main] Update golang 1.22 #52

Workflow file for this run

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