l10n: sync translations with Crowdin #5958
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: | |
| name: golanci-lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Setup Go | |
| uses: actions/setup-go@v7 | |
| with: | |
| cache: true | |
| go-version: 'stable' | |
| - name: Check Wire generated code | |
| run: | | |
| go generate ./cmd/ace ./cmd/cli | |
| git diff --exit-code -- cmd/ace/wire_gen.go cmd/cli/wire_gen.go | |
| - name: Run golangci-lint | |
| uses: golangci/golangci-lint-action@v9 | |
| with: | |
| skip-cache: true | |
| version: latest | |
| args: --timeout=30m ./... | |
| govulncheck: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Setup Go | |
| uses: actions/setup-go@v7 | |
| with: | |
| cache: true | |
| go-version: 'stable' | |
| - name: Install Govulncheck | |
| run: go install golang.org/x/vuln/cmd/govulncheck@latest | |
| - name: Run Govulncheck | |
| run: govulncheck ./... | |
| frontend: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v6 | |
| with: | |
| run_install: | | |
| - cwd: web | |
| package_json_file: web/package.json | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: 24 | |
| cache: 'pnpm' | |
| cache-dependency-path: web/pnpm-lock.yaml | |
| - name: Run pnpm lint | |
| working-directory: web | |
| run: pnpm lint |