Link payer to gateway envelopes #362
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: Lint | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
paths: | |
- ".github/workflows/lint-go.yml" | |
- "pkg/**" | |
- "cmd/**" | |
- "dev/**" | |
- "go.mod" | |
- "go.sum" | |
- "tools.go" | |
- ".golangci.yaml" | |
permissions: | |
contents: read | |
jobs: | |
lint-go: | |
name: Lint-Go | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version-file: go.mod | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
args: --timeout=5m --config .golangci.yaml | |
- name: golines | |
uses: nickcharlton/[email protected] | |
with: | |
command: dev/lint-golines | |
- name: sqlc | |
uses: nickcharlton/[email protected] | |
with: | |
command: go tool -modfile=tools/go.mod sqlc generate | |
- name: generate | |
uses: nickcharlton/[email protected] | |
with: | |
command: go generate ./... | |
- name: mockery | |
uses: nickcharlton/[email protected] | |
with: | |
command: go tool -modfile=tools/go.mod mockery |