Repository navigation
fix: reject path traversal in app file names #3165
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 go | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - '.golangci.yaml' | |
| - '.golangci-lint-version' | |
| - 'Makefile' | |
| - '**.go' | |
| pull_request: | |
| paths: | |
| - '.golangci.yaml' | |
| - '.golangci-lint-version' | |
| - 'Makefile' | |
| - '**.go' | |
| permissions: | |
| contents: read | |
| jobs: | |
| golangci: | |
| name: lint | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| # maximum supported version | |
| go-version: "1.26.x" | |
| - name: golangci-lint | |
| uses: golangci/golangci-lint-action@v9 | |
| with: | |
| version-file: .golangci-lint-version | |
| args: ./... |