Skip to content

Find, verify, and analyze leaked credentials

add smoke test (#1099)

Dustin Deckerae14e4506f7e
diff --git a/.github/workflows/secrets.yml b/.github/workflows/secrets.yml
index 863c7d615..a7ee160be 100644
--- a/.github/workflows/secrets.yml
+++ b/.github/workflows/secrets.yml
@@ -7,6 +7,7 @@ on:
- v*
branches:
- main
+ pull_request:
jobs:
test:
diff --git a/.github/workflows/smoke.yml b/.github/workflows/smoke.yml
new file mode 100644
index 000000000..a1955b268
--- /dev/null
+++ b/.github/workflows/smoke.yml
@@ -0,0 +1,24 @@
+
+name: Smoke
+
+on:
+ pull_request:
+
+jobs:
+ smoke:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Install Go
+ uses: actions/setup-go@v3
+ with:
+ go-version: '1.18'
+ - name: Checkout code
+ uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+ ref: ${{ github.head_ref }}
+ - name: Smoke
+ run: |
+ set -e
+ go run . git https://github.com/dustin-decker/secretsandstuff.git
+ go run . github --repo https://github.com/dustin-decker/secretsandstuff.git