Skip to content

Refactor Python setup in build-test workflow #4

Refactor Python setup in build-test workflow

Refactor Python setup in build-test workflow #4

Workflow file for this run

name: Build Test
on:
push:
branches:
- '*'
- '!pelican'
permissions:
contents: read
jobs:
build:
name: Build
runs-on: ubuntu-22.04
steps:
- name: Checkout do repositório
uses: actions/checkout@v5
with:
submodules: recursive
- name: Instala dependências de compilação
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev
version: 1.0
- name: Setup Python
uses: shamilniyas/pyenv-action@v2.6.5
with:
default: 3.5.10
- name: Instala dependências
run: pip install -r requirements.txt
- name: Build do site
run: make publish