Skip to content

Move PTAXSIM DB file to runner temp dir #107

Move PTAXSIM DB file to runner temp dir

Move PTAXSIM DB file to runner temp dir #107

Workflow file for this run

on:
pull_request:
push:
branches: [main, master]
name: pre-commit
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Install pre-commit
run: python -m pip install pre-commit
shell: bash
- name: Freeze dependencies
run: python -m pip freeze --local
shell: bash
- name: Cache pre-commit environment
uses: actions/cache@v3
with:
path: |
~/.cache/pre-commit
~/.cache/R
key: pre-commit-3-${{ env.pythonLocation }}-${{ hashFiles('.pre-commit-config.yaml') }}
- name: Run pre-commit
run: pre-commit run --show-diff-on-failure --color=always --all-files
shell: bash