upgrade protoc-gen-gorm to v2 #67
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: PR | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
defaults: | |
run: | |
working-directory: ./src/github.com/${{ github.repository }} | |
env: | |
GOPATH: ${{ github.workspace }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
# check out actual commit that triggered event | |
ref: ${{ github.event.pull_request.head.sha }} | |
path: ./src/github.com/${{ github.repository }} | |
fetch-depth: 0 | |
- name: Build | |
run: | | |
make docker-build | |
- name: Testing | |
run: | | |
make test-gen test-check | |
- name: Tests failure | |
if: ${{ failure() }} | |
run: | | |
timeout 10s make test-clean |