Skip to content
Snippets Groups Projects
Commit 9c9f73f6 authored by Philip Gough's avatar Philip Gough
Browse files

ci: Add check for security scan of manifest

parent e286f746
No related branches found
No related tags found
No related merge requests found
...@@ -40,6 +40,9 @@ jobs: ...@@ -40,6 +40,9 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
persist-credentials: false persist-credentials: false
- uses: actions/setup-go@v2
with:
go-version: ${{ env.golang-version }}
- run: make --always-make lint - run: make --always-make lint
fmt: fmt:
runs-on: ubuntu-latest runs-on: ubuntu-latest
...@@ -48,6 +51,9 @@ jobs: ...@@ -48,6 +51,9 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
persist-credentials: false persist-credentials: false
- uses: actions/setup-go@v2
with:
go-version: ${{ env.golang-version }}
- run: make --always-make fmt && git diff --exit-code - run: make --always-make fmt && git diff --exit-code
unit-tests: unit-tests:
runs-on: ubuntu-latest runs-on: ubuntu-latest
...@@ -56,7 +62,21 @@ jobs: ...@@ -56,7 +62,21 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
persist-credentials: false persist-credentials: false
- uses: actions/setup-go@v2
with:
go-version: ${{ env.golang-version }}
- run: make --always-make test - run: make --always-make test
security-audit:
runs-on: ubuntu-latest
name: Run security analysis on manifests
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- uses: actions/setup-go@v2
with:
go-version: ${{ env.golang-version }}
- run: make --always-make kubescape
e2e-tests: e2e-tests:
name: E2E tests name: E2E tests
runs-on: ubuntu-latest runs-on: ubuntu-latest
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment