fix(BACK-6848): Add check on DApps contract collisions #700
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: 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 |