Add "GW: restart from SE action" metrics to Deploy Metrics Dashboard #1798
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-and-test | |
| on: | |
| - push | |
| - pull_request | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| jobs: | |
| lintAndtestBackend: | |
| name: lint and test backend | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: 1.25.0 | |
| - name: Create dummy file in resources | |
| run: mkdir cmd/frontend/resources && touch cmd/frontend/resources/make-typecheck-happy.txt | |
| - name: golangci-lint | |
| uses: golangci/golangci-lint-action@v8 | |
| with: | |
| version: v2.5.0 | |
| - name: Run Go tests | |
| run: go test ./pkg/... | |
| - uses: ./.github/send-notification-action | |
| if: ${{ failure() }} | |
| with: | |
| secret: ${{ secrets.SLACK_WEBHOOK_URL }} | |
| lintAndTestFrontEnd: | |
| name: lint and test frontend | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10.18.3 | |
| run_install: | | |
| - recursive: true | |
| - name: Test build | |
| run: pnpm build | |
| - name: Run ESLint | |
| run: pnpm eslint | |
| - name: Run VueTSC | |
| run: pnpm vue-tsc | |
| - name: Run Prettier | |
| run: pnpm prettier --check . --log-level warn | |
| - name: Run tests | |
| run: pnpm test | |
| - uses: ./.github/send-notification-action | |
| if: ${{ failure() }} | |
| with: | |
| secret: ${{ secrets.SLACK_WEBHOOK_URL }} |