Skip to content

gemini-cli as well #138

gemini-cli as well

gemini-cli as well #138

Workflow file for this run

name: Lint
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
with:
submodules: false
- name: Checkout greg-zone submodule
run: |
git config --global url."https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/".insteadOf "[email protected]:"
git submodule update --init greg-zone
- name: Install ShellCheck
run: |
sudo apt-get update
sudo apt-get install -y shellcheck
- name: Run ShellCheck
run: |
chmod +x scripts/shellcheck.sh
./scripts/shellcheck.sh
ruff:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
with:
submodules: false
- name: Checkout greg-zone submodule
run: |
git config --global url."https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/".insteadOf "[email protected]:"
git submodule update --init greg-zone
- name: Install Python
uses: actions/setup-python@v6
with:
python-version: '3.11'
- name: Install dependencies
run: |
pip install ruff
sudo apt-get update
sudo apt-get install -y fd-find
sudo ln -s $(which fdfind) /usr/local/bin/fd
- name: Run ruff checks
run: |
chmod +x scripts/ruff.sh
./scripts/ruff.sh --check
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
with:
submodules: false
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Run Prettier checks
run: |
chmod +x scripts/prettier.sh
./scripts/prettier.sh --check