This repository has been archived by the owner on Aug 19, 2024. It is now read-only.
[RHIDP-943] update k8s dependencies #275
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Makefile CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: 'go.mod' | |
- name: Lint | |
run: make lint | |
- name: Test | |
run: make test | |
container-image-build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# See ../Makefile for value of single arch PLATFORM used with targets docker-build and podman-build | |
# NOTE: to build multiple arches, see ../Makefile and use target docker-buildx with PLATFORMS | |
engine: [docker, podman] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: 'go.mod' | |
- name: ${{ matrix.engine }}-build | |
run: make ${{ matrix.engine }}-build |