che-operator/.github/workflows/check-nightly-olm-bundle.yaml

31 lines
779 B
YAML

#
# Copyright (c) 2012-2021 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Red Hat, Inc. - initial API and implementation
#
name: Check nightly OLM bundle
on:
pull_request:
branches:
- master
jobs:
check-bundle-files:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install yq
run: sudo pip install yq
- name: Set up Go 1.13
uses: actions/setup-go@v2
with:
go-version: 1.13
- name: Che operator code check.
run: ${GITHUB_WORKSPACE}/.github/bin/check-nightly-olm-bundle.sh