Add signal processing; Add graceful shutdown; Add database migrations #27
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: Go | |
on: | |
push: | |
branches: | |
- "main" | |
jobs: | |
build: | |
name: Build, lint and test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Setup Go Environment | |
uses: actions/[email protected] | |
with: | |
go-version: 1.22 | |
cache: false # managed by golangci-lint | |
- name: Download Dependencies | |
run: go mod download -x | |
- name: Lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: latest | |
- name: Test | |
run: go test -v -race ./... | |