Skip to content

Update versions of GitHub actions #10

Update versions of GitHub actions

Update versions of GitHub actions #10

Workflow file for this run

name: Pipeline
on: [push, pull_request]
jobs:
run-tests:
runs-on: ubuntu-latest
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
SECRET_KEY: ${{ secrets.SECRET_KEY }}
ALGORITHM: ${{ secrets.ALGORITHM }}
ACCESS_TOKEN_EXPIRE_MINUTES: ${{ secrets.ACCESS_TOKEN_EXPIRE_MINUTES }}
steps:
- name: Copiar os arquivos do repositório
uses: actions/checkout@v4
- name: Instalar o Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Instalar uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-suffix: 'uv-cache'
- name: Instalar dependências
run: uv sync
- name: Executar testes
run: uv run task only_test