Skip to content

build(deps): bump tj-actions/changed-files from 37 to 38 #184

build(deps): bump tj-actions/changed-files from 37 to 38

build(deps): bump tj-actions/changed-files from 37 to 38 #184

Workflow file for this run

name: Lint
on: [push, pull_request]
env:
BASEDIR: https://raw.githubusercontent.com/open-contracting/standard-maintenance-scripts/main
jobs:
build:
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: pip
cache-dependency-path: '**/requirements*.txt'
- id: changed-files
uses: tj-actions/changed-files@v38
- uses: pre-commit/[email protected]
with:
extra_args: pip-compile --files ${{ steps.changed-files.outputs.all_changed_files }}
- shell: bash
run: curl -s -S --retry 3 $BASEDIR/tests/install.sh | bash -
- shell: bash
run: curl -s -S --retry 3 $BASEDIR/tests/script.sh | bash -
- run: pip install -r requirements_dev.txt
- env:
# https://github.com/OpenDataServices/lib-cove/pull/118
STANDARD_MAINTENANCE_SCRIPTS_IGNORE: jsonschema
run: pytest /tmp/test_requirements.py