Added separate fields to store failure reason, details and logs #92
Workflow file for this run
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 | |
on: | |
pull_request: | |
types: [ closed ] | |
jobs: | |
build: | |
if: github.event.pull_request.merged == true | |
name: Run Tests | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.21.5 | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Build and Run Tests | |
run: make generate-golang-schema build tests | |
close_job: | |
if: github.event.pull_request.merged == false | |
runs-on: ubuntu-22.04 | |
steps: | |
- run: | | |
echo PR #${{ github.event.number }} has been closed without being merged | |