Skip to content

Refactor cmd/timoni and extract reconciler logic to dedicated package #960

Refactor cmd/timoni and extract reconciler logic to dedicated package

Refactor cmd/timoni and extract reconciler logic to dedicated package #960

Workflow file for this run

name: build
on:
pull_request:
branches: [main]
push:
branches: [main]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
- name: Setup Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version-file: 'go.mod'
cache: true
- name: Setup CUE
uses: cue-lang/setup-cue@a93fa358375740cd8b0078f76355512b9208acb1 # main
with:
version: v0.8.1
- name: Run tests
run: make test
- name: Run linter
run: make cue-vet
- name: Run setup action
uses: ./actions/setup
- name: Check if working tree is dirty
run: |
if [[ $(git diff --stat) != '' ]]; then
echo 'run "make test cue-vet" and commit changes'
exit 1
fi