Add stream-logs flag ito fetch and stream logs from the Pod is needed #451
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: build-pipeline | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Install golang | |
| - uses: actions/setup-go@v2 | |
| with: | |
| go-version: 1.20.5 | |
| # Checkout to the latest commit | |
| # On specific directory/path | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: gofmt check | |
| env: | |
| COMMIT_HOOKS: pre-commit | |
| run: | | |
| if [ "$(gofmt -s -l . | wc -l)" -ne 0 ] | |
| then | |
| echo "The following files were found to be not go formatted:" | |
| gofmt -s -l . | |
| exit 1 | |
| fi | |
| - name: golangci-lint | |
| uses: reviewdog/action-golangci-lint@v1 | |
| - name: unused-package check | |
| run: | | |
| make unused-package-check | |
| - name: Building litmusctl | |
| run: | | |
| make build |