Skip to content

Enforce reconciliation timeout #28

Enforce reconciliation timeout

Enforce reconciliation timeout #28

Workflow file for this run

name: "Push"
on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
build:
name: "Build"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Build binaries
run: go install ./cmd/...
unit:
name: "Unit Tests"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Run unit tests
run: go test -v . ./...
staticcheck:
name: "Staticcheck"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- uses: dominikh/staticcheck-action@v1.3.0
with:
install-go: false
errcheck:
name: "Errcheck"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- run: go install github.com/kisielk/errcheck@latest
- run: errcheck ./...