add deploy in stage for test #5755
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: Spec Alignment | |
on: | |
push: | |
branches: | |
- "**" | |
jobs: | |
align: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.20.x" | |
- name: Tidy up dependencies | |
run: go mod tidy | |
- name: Install Differ | |
run: cd ./scripts/differ && go install . | |
- name: Run Differ | |
run: cd ./scripts/spec-alignment && ./differ.sh | |
- name: Upload output.diff | |
if: failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: output.diff | |
path: ./scripts/spec-alignment/output.diff |