Skip to content

Commit

Permalink
Cache pip dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
alangshall committed May 8, 2024
1 parent d1b8aa2 commit 5e7df23
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/pynblint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pynblint
lxml[html_clean]

0 comments on commit 5e7df23

Please sign in to comment.