refactor(obligations): Make separate database tables for classification and type #164
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
# SPDX-FileCopyrightText: 2024 Divij Sharma <[email protected]> | |
# SPDX-License-Identifier: GPL-2.0-only | |
name: Static Checks and Linting | |
concurrency: | |
group: lint-${{ github.head_ref }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
golangci-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20' | |
check-latest: true | |
cache: true | |
- name: Code Generation | |
run: cp external_ref_fields.example.yaml external_ref_fields.yaml && go generate ./... | |
- name: lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.55 | |