chore: bump the python group in /backend with 3 updates #195
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint Backend | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '.github/**/*' | |
- 'backend/**' | |
pull_request: | |
paths: | |
- '.github/**/*' | |
- 'backend/**' | |
defaults: | |
run: | |
working-directory: backend | |
jobs: | |
lint: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
python-version: ["3.11"] | |
fail-fast: false | |
steps: | |
- name: Clone the repository | |
uses: actions/checkout@v4 | |
# This has been done according to https://docs.makedeb.org/prebuilt-mpr/getting-started/ | |
# This is needed for packages: just | |
- name: Add makedb debian user repository | |
run: | | |
curl -q 'https://proget.makedeb.org/debian-feeds/prebuilt-mpr.pub' | gpg --dearmor | sudo tee /usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg 1> /dev/null | |
echo "deb [signed-by=/usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg] https://proget.makedeb.org prebuilt-mpr $(lsb_release -cs)" | sudo tee /etc/apt/sources.list.d/prebuilt-mpr.list | |
sudo apt update | |
- name: Install dev dependencies | |
run: sudo apt install just | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Poetry | |
uses: snok/install-poetry@v1 | |
- name: Cache python virtual env | |
uses: actions/cache@v4 | |
id: cache | |
with: | |
path: /backend/.venv | |
key: ${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-test | |
- name: Install Python dependencies | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: | | |
poetry install | |
- name: Lint | |
run: | | |
just lint |