Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Cleanup pre prow jobs #1912

Merged
merged 5 commits into from
Jan 16, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
nesmabadr marked this conversation as resolved.
Show resolved Hide resolved
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
lindnerby marked this conversation as resolved.
Show resolved Hide resolved
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.