feat: Migrate kp import to v1 API with ClusterLifecycle and ClusterBuildpack support #191
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: unit test | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - release/** | |
| jobs: | |
| unit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| - name: Check docs up to date | |
| run: | | |
| set -euo pipefail | |
| go run cmd/docs/main.go | |
| if [[ `git status --porcelain` ]]; then | |
| echo "Docs are not up-to-date" | |
| exit 1 | |
| fi | |
| - name: Test | |
| run: go test -v ./pkg/... | |
| - name: Report coverage | |
| uses: codecov/codecov-action@v3.1.4 |