Skip to content

Error catching for db migration #2

Error catching for db migration

Error catching for db migration #2

Workflow file for this run

name: Lint
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test-api-endpoint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.22.3
- name: Install dependencies
run: go mod tidy
- name: Install and configure golangci-lint
run: |
go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
go install -v github.com/golangci/golangci-lint/cmd/golangci-lint
- name: Lint all .go files
run: |
golangci-lint .