Skip to content

use commit hash in actions and add dependabot updates #1297

use commit hash in actions and add dependabot updates

use commit hash in actions and add dependabot updates #1297

Workflow file for this run

name: Lint
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Clone repo
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
- name: Set up python
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # ratchet:actions/setup-python@v4
with:
python-version: '3.10'
- name: Install linters
run: pip install black nbdev pre-commit
- name: Run pre-commit
run: pre-commit run --files statsforecast/*