forked from rook/rook
The rest of the CI already uses 1.15 so let's homogenize that. Signed-off-by: Sébastien Han <seb@redhat.com>
23 lines
626 B
YAML
23 lines
626 B
YAML
name: Build
|
|
on:
|
|
pull_request:
|
|
# paths-ignore means we run the action when files have changed and no one them are Golang files.
|
|
paths-ignore:
|
|
- '**.go'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v1
|
|
|
|
- uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.15
|
|
|
|
- name: build rook
|
|
run: |
|
|
# set VERSION to a dummy value since Jenkins normally sets it for us. Do this to make Helm happy and not fail with "Error: Invalid Semantic Version"
|
|
GOPATH=$(go env GOPATH) make clean && make -j$nproc IMAGES='ceph' VERSION=0 build
|