Github Actions will now build on a PR. Github Actions will now build and push an image to quay on a commit to the main branch.
20 lines
No EOL
282 B
YAML
20 lines
No EOL
282 B
YAML
name: Pull Request Build
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.17
|
|
|
|
- name: Build
|
|
run: make |