diff --git a/.github/workflows/pynblint.yml b/.github/workflows/pynblint.yml index e4bb526..b688a9a 100644 --- a/.github/workflows/pynblint.yml +++ b/.github/workflows/pynblint.yml @@ -16,9 +16,12 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v4 - # Install pynblint + - uses: actions/setup-python@v5 + with: + python-version: '3.9' + cache: 'pip' # caching pip dependencies + - name: Install Dependencies - run: sudo pip install pynblint - sudo pip install lxml[html_clean] + run: pip install -r requirements.txt - name: Linter Output run: pynblint -y $GITHUB_WORKSPACE diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..550c9dd --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +pynblint +lxml[html_clean] \ No newline at end of file