Skip to content

Commit

Permalink
use local wf
Browse files Browse the repository at this point in the history
Signed-off-by: David Wertenteil <dwertent@armosec.io>
  • Loading branch information
dwertent committed Apr 30, 2023
1 parent 2cb30cc commit 09f855b
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/pr-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,22 @@ jobs:

# main job of testing and building the env.
test_pr_checks:
name: Test PR checks
runs-on: ubuntu-latest
needs: [markdown-link-check]
permissions:
pull-requests: write
uses: kubescape/workflows/.github/workflows/go-basic-tests.yaml@main
with:
GO_VERSION: 1.19
BUILD_PATH: github.com/kubescape/regolibrary/gitregostore/...
secrets: inherit
steps:
- uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f
name: checkout repo content
with:
submodules: recursive
token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
- uses: ./workflows/.github/workflows/go-basic-tests.yaml
with:
GO_VERSION: 1.19
BUILD_PATH: github.com/kubescape/regolibrary/gitregostore/...


build-and-rego-test:
name: Build and test rego artifacts
Expand Down Expand Up @@ -102,7 +110,6 @@ jobs:
name: test rego artifatcs with kubescape
runs-on: ubuntu-latest
needs: [build-and-rego-test]
# secrets: inherit
steps:
- uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f
name: checkout repo content
Expand Down

0 comments on commit 09f855b

Please sign in to comment.