Skip to content

Commit

Permalink
Update Python to 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
sharat87 committed Apr 23, 2024
1 parent d0c3a13 commit 045ed1a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,28 +17,28 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Get versions
id: versions
run: |
sed 's/ /_version=/' .tool-versions | tee -a "$GITHUB_OUTPUT"
- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ steps.versions.outputs.python_version }}

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: .tool-versions
cache: yarn
cache-dependency-path: frontend/yarn.lock

- name: Install Task
run: |
wget -qO- 'https://github.com/go-task/task/releases/download/v3.28.0/task_linux_amd64.tar.gz' | tar -xz -C /usr/local/bin task
wget -qO- 'https://github.com/go-task/task/releases/download/v3.36.0/task_linux_amd64.tar.gz' | tar -xz -C /usr/local/bin task
task --version
- name: Test Frontend
Expand All @@ -54,7 +54,7 @@ jobs:

- name: Build Docker Image
run: |
docker build -t lt .
docker build -t lt --build-arg PYTHON_VERSION="${{ steps.versions.outputs.python_version }}" .
docker run --rm -d -p 3060:80 lt
- name: Test Integration
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
nodejs 18.17.1
python 3.11.4
python 3.12.3
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM python:3.11
ARG PYTHON_VERSION
FROM python:${PYTHON_VERSION}

MAINTAINER shrikantsharat.k@gmail.com

Expand Down

0 comments on commit 045ed1a

Please sign in to comment.