Skip to content

Merge pull request #10 from alanconway/github-action #2

Merge pull request #10 from alanconway/github-action

Merge pull request #10 from alanconway/github-action #2

Workflow file for this run

name: Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "1.21"
- uses: actions/cache@v3
with:
path: ~/go
key: cache-${{ runner.os }}-${{ runner.arch }}
- name: Lint
run: make manifests generate lint && git diff --exit-code
- name: Test
run: make test