chore(shell): remove leaked private token export #135
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: CI | |
| # Submodules are intentionally never initialized: modules/private is not | |
| # clonable from this public repo, and the CI checks are self-contained in | |
| # scripts/ci/ so they don't need modules/dotly either. | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| static-analysis: | |
| runs-on: ubuntu-latest | |
| name: 💿 Static analysis | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: 💿 Static analysis | |
| run: bash scripts/ci/static_analysis | |
| lint: | |
| runs-on: ubuntu-latest | |
| name: 💅 Lint | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: 📥 Install shfmt | |
| run: go install mvdan.cc/sh/v3/cmd/shfmt@latest | |
| - name: 💅 Lint bash files | |
| run: PATH="$PATH:$HOME/go/bin" bash scripts/ci/lint | |
| - uses: cachix/install-nix-action@v31 | |
| with: | |
| nix_path: nixpkgs=channel:nixos-unstable | |
| - name: 💅 Lint nix files | |
| run: nix-shell -p nixfmt --run "find config/nix -name '*.nix' -exec nixfmt --check {} +" | |
| validate-scripts: | |
| runs-on: ubuntu-latest | |
| name: 📝 Validate scripts | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: 📝 Validate scripts | |
| run: bash scripts/ci/validate_scripts |