Files
open-cluster-management/.github/workflows/go-postsubmit.yml
Jian Qiu f3ea6c5d99 update deps and enable action
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2021-06-22 13:15:34 +08:00

37 lines
840 B
YAML

name: GoPostSubmit
on:
push:
branches:
- main
- release-*
workflow_dispatch: {}
env:
# Common versions
GO_VERSION: '1.16'
GO_REQUIRED_MIN_VERSION: ''
GOPATH: '/home/runner/work/registration/registration/go'
defaults:
run:
working-directory: go/src/open-cluster-management.io/registration
jobs:
verify:
name: images
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v2
with:
fetch-depth: 1
path: go/src/open-cluster-management.io/registration
- name: install Go
uses: actions/setup-go@v2
with:
go-version: ${{ env.GO_VERSION }}
- name: install imagebuilder
run: go install github.com/openshift/imagebuilder/cmd/imagebuilder@v1.2.1
- name: images
run: make images