Skip to content

Commit

Permalink
Bump django from 4.2.7 to 5.0 (#43)
Browse files Browse the repository at this point in the history
* Bump django from 4.2.7 to 5.0

Bumps [django](https://github.com/django/django) from 4.2.7 to 5.0.
- [Commits](django/django@4.2.7...5.0)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update python-package.yml

* Update codeql-analysis.yml

* Update Dockerfile

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bervianto Leo Pratama <[email protected]>
  • Loading branch information
dependabot[bot] and berviantoleo authored Jan 12, 2024
1 parent dd685b3 commit c39482e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
permissions:
actions: read
contents: read
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ env:
IMAGE_NAME: djangoboilerplate
jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10']
python-version: ['3.10', '3.11']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -42,7 +42,7 @@ jobs:
# bash <(curl -s https://codecov.io/bash)
docker-test:
needs: build
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v4
Expand All @@ -53,7 +53,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
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.8-alpine as base
FROM python:3.10-alpine as base

FROM base as builder

Expand All @@ -14,4 +14,4 @@ RUN apk --no-cache add libpq
WORKDIR /app
COPY . .
RUN chmod +x ./startup.sh
ENTRYPOINT ["./startup.sh"]
ENTRYPOINT ["./startup.sh"]
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Django==4.2.7
Django==5.0
gunicorn==21.2.0

0 comments on commit c39482e

Please sign in to comment.