feat: Add dry-run flag to prevent pushing module template to registry #171
Workflow file for this run
This file contains 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: pull-cli-build | |
on: | |
pull_request: | |
branches: | |
- main | |
- 'release-**' | |
workflow_dispatch: | |
jobs: | |
cli-build: | |
name: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Kyma CLI | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: 'go.mod' | |
cache-dependency-path: 'go.sum' | |
- name: Run CLI Build | |
run: make build |