Skip to content

chore(actions): update oprypin/find-latest-tag action to v1.1.2 #652

chore(actions): update oprypin/find-latest-tag action to v1.1.2

chore(actions): update oprypin/find-latest-tag action to v1.1.2 #652

Workflow file for this run

name: pull request
on:
push:
branches:
- renovate/**
pull_request:
branches:
- master
- dev
jobs:
validate:
name: Validate
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Setup Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Cache pip
id: cache
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
- name: Lint
run: make lint || exit 0
- name: Tests
run: make test || exit 0
validate-docs:
name: Validate Docs
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Cache pip dependencies
id: cache
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements-docs.txt') }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-docs.txt
- name: Build docs
run: |
echo "0.0dev0" > VERSION
pip install .
mkdocs build