Skip to content

update github actions versions and set python 3.10 #214

update github actions versions and set python 3.10

update github actions versions and set python 3.10 #214

Workflow file for this run

name: Publish
on:
push:
branches: [main]
jobs:
publish:
env:
PIPENV_VENV_IN_PROJECT: 1
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.10'
- uses: actions/cache@v5
id: cache-pipenv
name: pipenv cache
with:
path: ./.venv
key: ${{ runner.os }}-pip-v5-${{ hashFiles('**/Pipfile.lock') }}
restore-keys: |
${{ runner.os }}-pip-v5-
- name: Install dependencies
run: |
python -m pip install -U pip
pip install -U pipenv
- name: Install project dependencies
if: steps.cache-pipenv.outputs.cache-hit != 'true'
run: |
pipenv sync --verbose
- name: Build and publish
run: |
pipenv run invoke gh-pages