Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions .cargo/config.toml

This file was deleted.

49 changes: 49 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Static checks

on:
push:
pull_request:
workflow_dispatch:

permissions:
contents: read

concurrency:
group: static-checks-${{ github.ref }}
cancel-in-progress: true

jobs:
check:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: '22'
- uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Check workspace version
run: python tools/version/check.py
- name: Check JavaScript syntax
shell: bash
run: git ls-files -z '*.mjs' | xargs -0 -r -n1 node --check
- name: Check public source boundary
run: node tools/boundary/check.mjs
- name: Check commit whitespace
shell: bash
env:
PR_BASE_SHA: ${{ github.event.pull_request.base.sha }}
PR_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
PUSH_BASE_SHA: ${{ github.event.before }}
run: |
if [[ -n "$PR_BASE_SHA" ]]; then
git diff --check "$PR_BASE_SHA...$PR_HEAD_SHA"
elif [[ -n "$PUSH_BASE_SHA" && ! "$PUSH_BASE_SHA" =~ ^0+$ ]]; then
git diff --check "$PUSH_BASE_SHA" "$GITHUB_SHA"
else
git show --format= --check "$GITHUB_SHA"
fi
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
!/screenshots/readme.png
/*.exe
/build-guarded.log
/balloon-order-*.log
/balloon-order-*.json
Loading
Loading