4: Improve error handling #123
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: Quality Control | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
branches: | |
- 'main' | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
name: Testing | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
- name: Test (with race detector) | |
run: make test-race | |
lint: | |
runs-on: ubuntu-22.04 | |
name: Linting | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
- name: Lint | |
uses: golangci/golangci-lint-action@v4 | |
with: | |
version: 'v1.56' | |
- name: Verify schema dump is up to date | |
run: make dump-schema && git diff --exit-code migrations/docs/schema.gen.sql | |
frontend: | |
runs-on: ubuntu-22.04 | |
name: Build frontend | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.12.2' | |
cache: npm | |
cache-dependency-path: 'assets/package-lock.json' | |
- name: Build | |
run: make frontend |