feat(proxy,mcp): tool argument and network response DLP hardening #127
Workflow file for this run
This file contains hidden or 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: | |
| permissions: | |
| contents: read | |
| jobs: | |
| golangci-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| - uses: golangci/golangci-lint-action@v7 | |
| with: | |
| version: v2.9.0 | |
| gofumpt: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| - name: Install gofumpt | |
| run: go install mvdan.cc/gofumpt@latest | |
| - name: Check formatting | |
| run: | | |
| unformatted=$(gofumpt -l .) | |
| if [ -n "$unformatted" ]; then | |
| echo "Files not formatted with gofumpt:" | |
| echo "$unformatted" | |
| echo "" | |
| echo "Run 'gofumpt -w .' to fix." | |
| exit 1 | |
| fi | |
| openapi: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - name: Lint OpenAPI spec | |
| run: npx @redocly/cli lint api/openapi.yaml |