Fix the python version for building to 3.10
Some checks failed
Build and Publish / test (push) Failing after 15s
Build and Publish / build (push) Has been skipped
Build and Publish / notify (push) Successful in 0s

This commit is contained in:
Cody Cook 2025-06-17 20:25:31 -07:00
parent fc36606fa7
commit c7448b70e1

View file

@ -15,17 +15,17 @@ jobs:
runs-on: docker
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: |
pytest
@ -36,17 +36,17 @@ jobs:
if: github.event_name == 'push' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Forgejo Container Registry
uses: docker/login-action@v2
with:
registry: ${{ secrets.FORGEJO_REGISTRY }}
username: ${{ secrets.FORGEJO_USERNAME }}
password: ${{ secrets.FORGEJO_PASSWORD }}
- name: Extract metadata for Docker
id: meta
uses: docker/metadata-action@v4
@ -57,7 +57,7 @@ jobs:
type=ref,event=pr
type=semver,pattern={{version}}
type=sha,format=short
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
@ -76,4 +76,4 @@ jobs:
- name: Notify about build status
run: |
echo "Build completed with status: ${{ job.status }}"
# Add webhook notification or other notification methods if needed
# Add webhook notification or other notification methods if needed