Skip to content

updating operator-framework api w/ additional bundle validation #2339

updating operator-framework api w/ additional bundle validation

updating operator-framework api w/ additional bundle validation #2339

Workflow file for this run

name: Go
on:
pull_request:
branches:
- main
- release-*
permissions: {}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Install system deps
run: 'sudo apt update && sudo apt install -y libgpgme-dev libbtrfs-dev libdevmapper-dev'
- name: Set up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
go-version-file: go.mod
- name: Tidy
run: make tidy
- name: Vet
run: make vet
- name: Format
run: make fmt
- name: Run golangci linting checks
run: make lint
- name: Test
run: make cover
- name: Coveralls
uses: coverallsapp/github-action@5cbfd81b66ca5d10c19b062c04de0199c215fb6e # v2.3.7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
file: coverage.out
fail-on-error: 'false'
build-linux-binaries:
name: Build Multi-arch-linux
runs-on: ubuntu-latest
strategy:
matrix:
platform: [ linux ]
architecture:
- amd64
- arm64
- ppc64le
- s390x
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Build linux binary for ${{ matrix.architecture }}
run: make build-linux-${{ matrix.architecture }}
build-mac-binaries:
name: Build Multi-arch-mac
runs-on: ubuntu-latest
strategy:
matrix:
architecture: [ amd64, arm64 ]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Build Mac binary for ${{ matrix.architecture }}
run: make build-mac-${{ matrix.architecture }}