mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-10 15:14:38 +00:00
add smoke test (#1099)
This commit is contained in:
parent
0c66d30c1f
commit
ae14e4506f
2 changed files with 25 additions and 0 deletions
1
.github/workflows/secrets.yml
vendored
1
.github/workflows/secrets.yml
vendored
|
@ -7,6 +7,7 @@ on:
|
|||
- v*
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
|
|
24
.github/workflows/smoke.yml
vendored
Normal file
24
.github/workflows/smoke.yml
vendored
Normal file
|
@ -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
|
Loading…
Reference in a new issue