Disable migrations in API #883
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
on: | |
push: | |
name: Tests | |
jobs: | |
golangci: | |
name: Linter | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.23' | |
cache: false | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: v1.60.3 | |
args: --timeout=5m | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.23.x | |
- name: Golang tests | |
env: | |
GO111MODULE: on | |
run: | | |
go mod download | |
go test -p 8 ./... | |
- name: Update coverage report | |
uses: ncruces/[email protected] | |
with: | |
report: 'true' | |
chart: 'true' | |
amend: 'true' | |
reuse-go: 'true' | |
continue-on-error: true |