Skip to content

add libertify on polygon #621

add libertify on polygon

add libertify on polygon #621

Workflow file for this run

---
name: CI
on:
push:
# Trigger a build on tags, on push against main and release branches and ci/ to test
tags:
- "*"
branches:
- main
- release/*
pull_request:
# Trigger a build on PR against main, feature branches and release branches
branches:
- main
- feature/*
- release/*
# Manual trigger, allows reusage from other workflows (like release)
workflow_dispatch:
env:
PIPENV_NOSPIN: 1
jobs:
# Compute metadata once to ensure every following job is using the same
# and avoid logic and step repetition
lint:
name: Static analysis
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
cache: 'pipenv'
-
name: Install pipenv
run: pip install -U pip pipenv wheel
-
name: Install python dependencies
env:
PYPI_DEPLOY_TOKEN: ${{ secrets.PYPI_DEPLOY_TOKEN }}
run: pipenv sync --dev
-
name: Validate files and format
run: pipenv run validate_files