Files
hatchet/.github/workflows/lint.yml
T
abelanger5 d63b66a837 feat: concurrency groups (#135)
* first pass at moving controllers around

* feat: concurrency limits for strategy CANCEL_IN_PROGRESS

* fix: linting

* chore: bump python sdk version
2024-01-30 00:00:28 -05:00

38 lines
957 B
YAML

name: lint all
on: pull_request
jobs:
lint:
name: lint
runs-on: ubuntu-latest
env:
DATABASE_URL: postgresql://hatchet:hatchet@127.0.0.1:5431/hatchet
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
- uses: actions/cache@v3
with:
path: |
~/go/pkg/mod
~/.cache
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: ${{ runner.os }}-go-
- name: Download
run: go mod download
- name: Generate
run: go run github.com/steebchen/prisma-client-go generate
- name: golangci-lint
uses: golangci/golangci-lint-action@v3.2.0
with:
version: v1.55.0
args: --config .golangci.yml --timeout 5m --max-issues-per-linter 0 --max-same-issues 0
only-new-issues: true
skip-cache: true