Skip to content

Add checks.yml gh workflow #9

Add checks.yml gh workflow

Add checks.yml gh workflow #9

Workflow file for this run

name: tests
on:
push:
branches:
- master
pull_request:
jobs:
compile:
runs-on: ubuntu-latest
steps:
- name: Fetch the code
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: "1.18"
- name: Compile
run: make compile
docs:
runs-on: ubuntu-latest
steps:
- name: Fetch the code
uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: "3.8"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f doc-requirements.txt ]; then pip install -r doc-requirements.txt; fi
- name: Build the documentation
run: make docs
generate_kustomize:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "^1.17.6"
- name: Kustomize and diff
run: DELTA_CHECK=true make kustomize
generate_helm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "^1.17.6"
- name: Helm and diff
run: DELTA_CHECK=true make helm