mirror of
https://github.com/christinminor459/OnionClaw.git
synced 2026-07-30 19:22:58 +00:00
7ff3f7f8ce
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
39 lines
1.0 KiB
YAML
39 lines
1.0 KiB
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: ["main"]
|
|
pull_request:
|
|
branches: ["main"]
|
|
|
|
jobs:
|
|
lint:
|
|
name: Syntax & import check
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.9", "3.10", "3.11", "3.12"]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Install dependencies
|
|
run: pip install requests[socks] beautifulsoup4 python-dotenv stem
|
|
|
|
- name: Syntax check — sicry.py
|
|
run: python3 -m py_compile sicry.py && echo "sicry.py OK"
|
|
|
|
- name: Syntax check — scripts
|
|
run: |
|
|
for f in ask.py check_engines.py check_tor.py fetch.py pipeline.py renew.py search.py sync_sicry.py; do
|
|
python3 -m py_compile "$f" && echo "$f OK"
|
|
done
|
|
|
|
- name: Import check — sicry
|
|
run: python3 -c "import sicry; print('sicry', sicry.__version__, 'imported OK')"
|