Skip to content

chore: Generate build tools using go 1.22.2 #142

chore: Generate build tools using go 1.22.2

chore: Generate build tools using go 1.22.2 #142

Workflow file for this run

name: pull request validation
on: [pull_request]
jobs:
validate:
name: Validate
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
e2e-images:
- 'e2e/images/**'
- name: Build
if: steps.filter.outputs.e2e-images == 'true'
run: make build-e2e-images
validate-keda-tools:
name: Validate keda-tools - ${{ matrix.name }}
runs-on: ${{ matrix.runner }}
strategy:
matrix:
include:
- runner: ARM64
name: arm64
- runner: ubuntu-latest
name: amd64
steps:
- uses: actions/checkout@v3
- name: Register workspace path
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
tools:
- 'tools/**'
- 'Makefile'
- name: Set up QEMU
if: steps.filter.outputs.tools == 'true'
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
if: steps.filter.outputs.tools == 'true'
uses: docker/setup-buildx-action@v2
- name: Build tools
if: steps.filter.outputs.tools == 'true'
run: make build-keda-tools
validate-keda-k6-runner:
name: Validate keda-k6-runner - ${{ matrix.name }}
runs-on: ${{ matrix.runner }}
strategy:
matrix:
include:
- runner: ARM64
name: arm64
- runner: ubuntu-latest
name: amd64
steps:
- uses: actions/checkout@v3
- name: Register workspace path
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
k6-runner:
- 'k6-runner/**'
- 'Makefile'
- name: Set up QEMU
if: steps.filter.outputs.k6-runner == 'true'
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
if: steps.filter.outputs.k6-runner == 'true'
uses: docker/setup-buildx-action@v2
- name: Build k6-runner
if: steps.filter.outputs.k6-runner == 'true'
run: make build-keda-k6-runner