Update actions/setup-python action to v5.3.0 #958
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: Validate scripts | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
paths: | |
- '.github/workflows/validate-scripts.yml' | |
- 'scripts/**' | |
jobs: | |
validate_script: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
script_dir: ['./scripts/Plot'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: read python version from Pipfile | |
id: python-version | |
working-directory: ${{ matrix.script_dir }} | |
run: | | |
ver=$(grep python_version ./Pipfile | sed -e 's/^python_version\s=\s"\(.*\)"$/\1/') | |
echo "version=${ver}" >> "$GITHUB_OUTPUT" | |
- uses: actions/[email protected] | |
with: | |
python-version: ${{ steps.python-version.outputs.version }} | |
- name: install pipenv | |
run: pip install pipenv | |
- name: install Plot script dependencies | |
working-directory: ${{ matrix.script_dir }} | |
run: | | |
pipenv install | |
pipenv graph |