Releases: spoo-me/setup-action
Releases · spoo-me/setup-action
v2.0.0 — FastAPI Migration
What's Changed
- FastAPI + Uvicorn — updated for the spoo.me Flask → FastAPI migration
- Python 3.13 — default Python version bumped from 3.12 to 3.13
- Proper health checks — uses
/healthendpoint with JSON validation, bounded timeouts, and whitelist-only status acceptance - New
health-urloutput —http://127.0.0.1:8000/health - Full env config — JWT (HS256), OAuth placeholders, Sentry, logging, email settings auto-configured for CI
- Expanded test coverage — legacy shorten + redirect, legacy stats, V1 API shorten + redirect, V1 API stats
- Hardened CI — redirect failures and malformed health responses now fail the workflow
Migration from v1
# Before
uses: spoo-me/setup-action@v1
# After
uses: spoo-me/setup-action@v2
All inputs and outputs are backward-compatible. New output: health-url.Initial Release v1.0.1
Basic Usage example:
name: Test with Spoo.me Service
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Setup Spoo.me Service
uses: spoo-me/setup-action@v1
id: spoo-setup
- name: Run tests against Spoo.me
run: |
echo "Service running at: ${{ steps.spoo-setup.outputs.service-url }}"
curl -s ${{ steps.spoo-setup.outputs.service-url }}