deps(deps): bump lucide-react from 1.7.0 to 1.21.0 #941
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: | |
| branches: [main, develop] | |
| pull_request: | |
| branches: [main, develop] | |
| jobs: | |
| python-lint: | |
| runs-on: ubuntu-latest | |
| name: Python Lint | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6 | |
| with: | |
| python-version: "3.13" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0 | |
| with: | |
| enable-cache: true | |
| - name: Run ruff linter | |
| run: | | |
| uvx ruff check model/src/ model/dataset/ | |
| - name: Run ruff formatter check | |
| run: | | |
| # Exclude pii_onnx_model/ as it's tracked by Git LFS and files aren't pulled in CI | |
| uvx ruff format --check model/src/ model/dataset/ --diff | |
| go-lint: | |
| runs-on: ubuntu-latest | |
| name: Go Lint | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 | |
| - name: Set up Go | |
| uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6 | |
| with: | |
| go-version-file: go.mod | |
| - name: golangci-lint | |
| uses: golangci/golangci-lint-action@82606bf257cbaff209d206a39f5134f0cfbfd2ee # v9.2.1 | |
| with: | |
| version-file: .tool-versions | |
| go-test: | |
| runs-on: ubuntu-latest | |
| name: Go Tests | |
| needs: go-lint | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 | |
| - name: Set up Go | |
| uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6 | |
| with: | |
| go-version-file: go.mod | |
| - name: Cache tokenizers library | |
| id: cache-tokenizers | |
| uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 | |
| with: | |
| path: build/tokenizers/libtokenizers.a | |
| key: ${{ runner.os }}-tokenizers-v1.26.0-prebuilt-v1 | |
| - name: Download tokenizers library | |
| if: steps.cache-tokenizers.outputs.cache-hit != 'true' | |
| run: | | |
| mkdir -p build/tokenizers | |
| cd build/tokenizers | |
| curl -L -o libtokenizers.linux-amd64.tar.gz \ | |
| https://github.com/daulet/tokenizers/releases/download/v1.26.0/libtokenizers.linux-amd64.tar.gz | |
| tar -xzf libtokenizers.linux-amd64.tar.gz | |
| rm -f libtokenizers.linux-amd64.tar.gz | |
| ranlib libtokenizers.a | |
| - name: Run Go tests | |
| run: make test-go | |
| frontend-lint: | |
| runs-on: ubuntu-latest | |
| name: Frontend Lint & Type Check | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 | |
| with: | |
| node-version: "20" | |
| cache: "npm" | |
| cache-dependency-path: "package-lock.json" | |
| - name: Install dependencies | |
| working-directory: src/frontend | |
| run: npm ci | |
| - name: Run ESLint | |
| working-directory: src/frontend | |
| run: npm run lint | |
| - name: Run TypeScript type check | |
| working-directory: src/frontend | |
| run: npm run type-check | |
| actionlint: | |
| runs-on: ubuntu-latest | |
| name: Workflow Lint (actionlint) | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 | |
| - name: Download actionlint | |
| id: actionlint | |
| # Official install script from https://github.com/rhysd/actionlint. | |
| # Pinned to the tag commit for v1.7.12 (the binary version we install | |
| # below). Avoids both silent script changes from `main` and a version | |
| # mismatch between script and binary. | |
| run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/914e7df21a07ef503a81201c76d2b11c789d3fca/scripts/download-actionlint.bash) 1.7.12 | |
| shell: bash | |
| - name: Lint all workflows | |
| # No path arg => checks every .github/workflows/*.{yml,yaml}. | |
| # `-shellcheck=` disables actionlint's embedded shellcheck. Existing | |
| # workflows have many pre-existing shellcheck warnings; enable later | |
| # (drop the flag) after cleaning those up in a separate PR. | |
| run: ${{ steps.actionlint.outputs.executable }} -color -shellcheck= | |
| shell: bash |