From dd0db0bacaf84b32172e0b51c4a78c2f3c459c11 Mon Sep 17 00:00:00 2001 From: Oscar Reimer Date: Thu, 12 Sep 2024 10:00:54 +0200 Subject: [PATCH] Add test of scan output (#261) * Add test of scan output * Remove reference to Debricked Portal --- .github/workflows/debricked.yml | 7 +++++-- README.md | 3 --- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/debricked.yml b/.github/workflows/debricked.yml index 7b870357..5f4316ab 100644 --- a/.github/workflows/debricked.yml +++ b/.github/workflows/debricked.yml @@ -19,5 +19,8 @@ jobs: run: | cd cmd/debricked go generate -v -x - - run: | - go run cmd/debricked/main.go scan -t ${{ secrets.DEBRICKED_TOKEN }} -e "pkg/**" -e "test/**" -e "**/testdata/**" + - uses: GuillaumeFalourd/assert-command-line-output@v2.3 + with: + command_line: go run cmd/debricked/main.go scan -t ${{ secrets.DEBRICKED_TOKEN }} -e "pkg/**" -e "test/**" -e "**/testdata/**" + contains: AUTOMATION RULE + expected_result: PASSED diff --git a/README.md b/README.md index 96383462..6e86ba29 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,3 @@ If you would rather use `debricked` in your CI/CD pipelines, check out the [temp ## Contributing Thank you for your interest in making Debricked CLI even better! Read more about contributing to the project [here](CONTRIBUTING.md). - -Also, make sure to check out the [Debricked Portal](https://portal.debricked.com/). There, you can share your great ideas with us! -