Skip to content

Commit

Permalink
chore: Cleanup pre prow jobs (#1912)
Browse files Browse the repository at this point in the history
* Add pull-cli-docs

* Add pull-cli-unit-test

* Add pull-cli-build

* new lines

* Empty-Commit
  • Loading branch information
nesmabadr authored Jan 16, 2024
1 parent f1ed885 commit c95706c
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 7 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/pull-cli-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
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
21 changes: 21 additions & 0 deletions .github/workflows/pull-cli-docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: pull-cli-docs
on:
pull_request:
branches:
- main
- 'release-**'
workflow_dispatch:
jobs:
validate-docs:
name: docs validation
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 Docs Validation
run: make validate
21 changes: 21 additions & 0 deletions .github/workflows/pull-cli-unit-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: pull-cli-unit-test
on:
pull_request:
branches:
- main
- 'release-**'
workflow_dispatch:
jobs:
unit-tests:
name: unit tests
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 Unit Tests
run: make test
7 changes: 0 additions & 7 deletions prow/pre-cli-e2e.sh

This file was deleted.

0 comments on commit c95706c

Please sign in to comment.