add smoke test (#1099)

This commit is contained in:
Dustin Decker 2023-02-11 11:09:36 -08:00 committed by GitHub
parent 0c66d30c1f
commit ae14e4506f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 0 deletions

View file

@ -7,6 +7,7 @@ on:
- v*
branches:
- main
pull_request:
jobs:
test:

24
.github/workflows/smoke.yml vendored Normal file
View 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