From 91c9f51f4755b85b3fdd96dfba33e96f2211ee01 Mon Sep 17 00:00:00 2001 From: Father Bot Date: Thu, 23 Apr 2026 12:40:09 +0300 Subject: [PATCH] Add minimal CI workflow Add a GitHub Actions workflow that installs requirements on Python 3.12 and byte-compiles the bot package on every push to main and on pull requests, catching dependency-resolution and syntax errors early. --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..3ec9bf8 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +name: CI + +on: + push: + branches: [ main ] + pull_request: + +jobs: + build: + 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 dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + + - name: Byte-compile sources + run: python -m compileall bot