debug: refactor workflow #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Keploy Binary | ||
on: | ||
pull_request: | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
- name: Build binary | ||
run: go build -tags=viper_bind_struct -o kTestBuild | ||
- name: Upload Keploy Binary as Artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: keploy-binary | ||
path: kTestBuild | ||
- name: sleep | ||
run: sleep 10 | ||
test: | ||
needs: build | ||
uses: ./.github/workflows/test_stage.yml | ||