ci: stop firing full e2e-prod live suite on every API build (revert #275 dispatch) #438
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: golangci-lint | |
| on: | |
| push: | |
| branches: [master, main] | |
| pull_request: | |
| branches: [master, main] | |
| schedule: | |
| - cron: "23 6 * * 1" | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| jobs: | |
| lint: | |
| name: lint | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| path: api | |
| # Sibling checkouts (proto/common) for repos with replace directives. | |
| # No-op for repos that do not need them. | |
| - uses: actions/checkout@v6 | |
| if: ${{ hashFiles('api/go.mod') != '' }} | |
| with: | |
| repository: InstaNode-dev/common | |
| path: common | |
| continue-on-error: true | |
| - uses: actions/checkout@v6 | |
| with: | |
| repository: InstaNode-dev/proto | |
| path: proto | |
| continue-on-error: true | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: api/go.mod | |
| - uses: golangci/golangci-lint-action@v9 | |
| with: | |
| version: latest | |
| working-directory: api | |
| args: --timeout=5m |