Skip to content

Remove nose of yeti #695

Remove nose of yeti

Remove nose of yeti #695

Workflow file for this run

---
name: Lint
on:
pull_request: {}
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install deps
shell: bash
env:
VENVSTARTER_ONLY_MAKE_VENV: "1"
run: python ./tools/venv
- name: Ensure linter is happy
run: ./lint
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install deps
shell: bash
env:
VENVSTARTER_ONLY_MAKE_VENV: "1"
run: python ./tools/venv
- name: Ensure code is formatted
run: |
./format
# Complain if there were changes
if [[ ! -z "$(git status --porcelain)" ]]; then
echo "=========================================="
echo "Found changes!"
echo "Please run ./format before committing code"
echo "=========================================="
git diff
exit 1
fi