Change endpoint field to path #54
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 Tratteria Agent | |
on: | |
push: | |
branches: [main] | |
paths: | |
- 'service/**' | |
pull_request: | |
branches: [main] | |
paths: | |
- 'service/**' | |
jobs: | |
lint: | |
name: Run golangci-lint on tratteria agent | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22.0' | |
- name: Install golangci-lint | |
uses: golangci/golangci-lint-action@v4 | |
with: | |
version: v1.54.2 | |
args: --timeout 5m --verbose | |
working-directory: ./service |