Skip to content

Bump actions/setup-python from 4.7.1 to 4.8.0 (#71) #111

Bump actions/setup-python from 4.7.1 to 4.8.0 (#71)

Bump actions/setup-python from 4.7.1 to 4.8.0 (#71) #111

Workflow file for this run

name: build
on:
push:
release:
types: [created, published]
env:
PYTHON_VERSION: '3.11'
POETRY_VERSION: '1.4.1'
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
with:
egress-policy: audit
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install Linux Dependencies
run: >
sudo apt-get update -qq && sudo apt-get install -qq --no-install-recommends
gir1.2-gtk-4.0 libgirepository1.0-dev libgtksourceview-5-dev libadwaita-1-dev
graphviz
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@b64ffcaf5b410884ad320a9cfac8866006a109aa # v4.8.0
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install Poetry ${{ env.POETRY_VERSION }}
run: |
python -m pip install --upgrade pip
pip install poetry==$POETRY_VERSION
poetry config virtualenvs.in-project true
- name: Install dependencies
run: poetry install --no-interaction
- name: Gaphor self-test
run: xvfb-run poetry run gaphor --self-test
- name: Test
run: xvfb-run poetry run pytest