Skip to content

Use kubebuilder and start refactoring out into lib and api packages #2

Use kubebuilder and start refactoring out into lib and api packages

Use kubebuilder and start refactoring out into lib and api packages #2

name: Reservations Tests

Check failure on line 1 in .github/workflows/reservations-test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/reservations-test.yml

Invalid workflow file

(Line: 14, Col: 9): Unexpected value 'path'
on:
push:
pull_request:
jobs:
test:
name: Run on Ubuntu
runs-on: ubuntu-latest
steps:
- name: Clone the code
uses: actions/checkout@v5
path: reservations
- name: Get all changed files
id: changed-files
uses: tj-actions/changed-files@v46
with:
files: |
**/*
- name: Setup Go
if: steps.changed-files.outputs.files != ''
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Running Tests
if: steps.changed-files.outputs.files != ''
run: |
go mod tidy
make test