Skip to content

Commit

Permalink
feat: update python version (#89)
Browse files Browse the repository at this point in the history
* Update python-package.yml

* Update python-package.yml

* Update dependabot.yml
  • Loading branch information
berviantoleo authored Jun 2, 2024
1 parent 8d60534 commit 0a9e211
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,8 @@ updates:
directory: "/"
schedule:
interval: "monthly"
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "monthly"

8 changes: 4 additions & 4 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ env:
IMAGE_NAME: berv-flask
jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ['3.8', '3.9']
python-version: ['3.10', '3.11', '3.12']
services:
# Label used to access the service container
postgres:
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
docker-build:
needs: build
if: github.event_name == 'pull_request'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Run build
Expand All @@ -73,7 +73,7 @@ jobs:
docker-push:
# Ensure test job passes before pushing image.
needs: build
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: github.event_name == 'push'
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 0a9e211

Please sign in to comment.