Skip to content

ci: use submodules, add dependabot, automatically update #11

ci: use submodules, add dependabot, automatically update

ci: use submodules, add dependabot, automatically update #11

Workflow file for this run

name: Update
on:
pull_request:
push:
branches:
- main
jobs:
update:
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot[bot]'
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
with:
ref: ${{ github.head_ref }}
submodules: "true"
token: ${{ secrets.APPARITOR_GITHUB_TOKEN }}
- name: Setup Python
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c
with:
python-version: "3.14"
- name: Update
run: |
./scripts/update
- name: Commit
uses: devops-infra/action-commit-push@e6a24fad602d1f92e46432c89a7e0c7fdd45d62d
with:
github_token: ${{ secrets.APPARITOR_GITHUB_TOKEN }}
commit_message: "ci: update"
test:
needs: update
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
with:
ref: ${{ github.head_ref }}
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c
with:
python-version: ${{ matrix.python-version }}
- run: pip install .
- run: make test