Skip to content

build(deps): bump pydantic from 2.7.0 to 2.10.2 #88

build(deps): bump pydantic from 2.7.0 to 2.10.2

build(deps): bump pydantic from 2.7.0 to 2.10.2 #88

Workflow file for this run

name: Python DEV CI
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
on:
push:
branches:
- main
pull_request:
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
env:
DEFAULT_PYTHON: "3.12"
GIT_BRANCH_NAME: "${{ github.ref }}"
GIT_REPOSITORY_NAME: "${{ github.event.repository.name }}"
PROJECT_NAME: vm-clockify
VERSION: 1.1.0
LOGGING_LEVEL: "${{ contains(github.ref, 'main') && 'INFO' || 'DEBUG' }}"
LOGGING_VERBOSE: "${{ contains(github.ref, 'main') && 2 || 3 }}"
VM_BASE_PATH: /tmp
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# BUILD
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
uses: actions/setup-python@v5
with:
python-version: ${{ env.DEFAULT_PYTHON }}
- name: Install build dependencies
run: |
python3 -m pip install --upgrade pip build
- name: Build binary wheel and source tarball
run: |
python3 -m build
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ env.PROJECT_NAME }}
path: dist
# DEPLOY
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
uses: actions/setup-python@v5
with:
python-version: ${{ env.DEFAULT_PYTHON }}
- name: Download artifact from build step
uses: actions/download-artifact@v4
with:
name: ${{ env.PROJECT_NAME }}
path: artifacts
- name: Install final result
run: |
python3 -m pip install artifacts/*.whl