Skip to content

fix: Allow serving CRs and CRDs and other improvements #4

fix: Allow serving CRs and CRDs and other improvements

fix: Allow serving CRs and CRDs and other improvements #4

Workflow file for this run

on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/setup-go@v4
with:
go-version: "1.20"
- name: setup env
run: |
echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
shell: bash
- uses: actions/checkout@v4
- run: |
printenv | sort
echo "PATH = $PATH"
make install-golangci-lint
ls $GOPATH/bin
echo "golangci-lint path: $(which golangci-lint)"
make install-golangci-lint lint build
test:
runs-on: ubuntu-22.04
steps:
- uses: actions/setup-go@v4
with:
go-version: "1.20"
- name: setup env
run: |
echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
shell: bash
- uses: actions/checkout@v4
- run: make ginkgo test