Skip to content

chore: replace prow build job waiting with github action #319

chore: replace prow build job waiting with github action

chore: replace prow build job waiting with github action #319

Workflow file for this run

name: Unit Tests
env:
KYMA_STABILITY: "unstable"
KYMA: "./hack/kyma"
on:
push:
branches:
- "main"
- "release-*"
paths-ignore:
- 'docs/**'
- '**.md'
- 'sec-scanners-config.yaml'
pull_request:
branches:
- "main"
- "release-*"
paths-ignore:
- 'docs/**'
- '**.md'
- 'sec-scanners-config.yaml'
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup go environment
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: false
- name: Sync go dependencies
run: |
go mod tidy
go mod vendor
- name: Run tests
run: |
make test