chore: support py3.13 (#40) #62
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'analyze' | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
analyze: | |
runs-on: self-hosted | |
steps: | |
- name: 'Checkout sources' | |
uses: actions/checkout@v3 | |
- name: 'Set up Python' | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.12 | |
- name: 'Set up Poetry' | |
uses: snok/install-poetry@v1 | |
- name: 'Install dependencies' | |
run: poetry install --no-interaction --no-root | |
- name: 'Checkout pl-snakebattle' | |
run: git clone https://github.com/getcodelimit/pl-battlesnake.git | |
- name: 'Run codelimit' | |
run: poetry run codelimit scan pl-battlesnake |