mirror of
https://github.com/fastapi-practices/fastapi-best-architecture.git
synced 2026-10-12 12:20:27 +00:00
20 lines
374 B
YAML
20 lines
374 B
YAML
name: Check version
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- v*
|
|
|
|
jobs:
|
|
check-version:
|
|
name: check version
|
|
runs-on: ubuntu-latest
|
|
if: startsWith(github.ref, 'refs/tags/')
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- name: Check the package version
|
|
uses: samuelcolvin/check-python-version@v5
|
|
with:
|
|
version_file_path: backend/__init__.py
|