Skip to content

Merge pull request #136 from clobrano/automate-rh-community-bundle-0 #638

Merge pull request #136 from clobrano/automate-rh-community-bundle-0

Merge pull request #136 from clobrano/automate-rh-community-bundle-0 #638

Workflow file for this run

---
name: Pre Submit # workflow name
#
# Documentation:
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#understanding-the-workflow-file
#
on: # on events
push:
branches:
- main
- release-*
pull_request:
branches:
- main
- release-*
jobs: # jobs to run
build:
name: Test and build PRs
runs-on: ubuntu-22.04 # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#choosing-github-hosted-runners
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go # https://github.com/actions/setup-go/blob/main/action.yml
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
cache-dependency-path: 'go.sum'
- name: Run checks and unit tests
run: make test
- name: Build Images
run: make container-build-community