[109] Check if migration file exist before running migration #268
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: Test | |
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel previous runs | |
uses: styfle/cancel-workflow-action@0.9.1 | |
with: | |
access_token: ${{ github.token }} | |
- name: Checkout | |
uses: actions/checkout@v2.3.4 | |
- name: Install cookiecutter | |
run: sudo -H python3 -m pip install cookiecutter | |
- name: Setup Go environment | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.20.x | |
- name: Linters | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.51 | |
- name: Test | |
env: | |
GOPATH: /home/runner/go | |
run: make test |