From 9c9f73f6c58c2ba41d4c0a37ba4527405a323ca4 Mon Sep 17 00:00:00 2001 From: Philip Gough <philip.p.gough@gmail.com> Date: Mon, 17 Jan 2022 15:07:35 +0000 Subject: [PATCH] ci: Add check for security scan of manifest --- .github/workflows/ci.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fc4e88dc..88851341 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -40,6 +40,9 @@ jobs: - uses: actions/checkout@v2 with: persist-credentials: false + - uses: actions/setup-go@v2 + with: + go-version: ${{ env.golang-version }} - run: make --always-make lint fmt: runs-on: ubuntu-latest @@ -48,6 +51,9 @@ jobs: - uses: actions/checkout@v2 with: persist-credentials: false + - uses: actions/setup-go@v2 + with: + go-version: ${{ env.golang-version }} - run: make --always-make fmt && git diff --exit-code unit-tests: runs-on: ubuntu-latest @@ -56,7 +62,21 @@ jobs: - uses: actions/checkout@v2 with: persist-credentials: false + - uses: actions/setup-go@v2 + with: + go-version: ${{ env.golang-version }} - 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: name: E2E tests runs-on: ubuntu-latest -- GitLab