Add pip caching to GitHub Actions
- ID
82cd498- date
2024-06-02 09:17:46+00:00- author
Alex Chan <alex@alexwlchan.net>- parent
b236137- message
Add pip caching to GitHub Actions For https://github.com/alexwlchan/alexwlchan/issues/4- changed files
1 file, 4 additions, 2 deletions
Changed files
.github/workflows/test.yml (1018) → .github/workflows/test.yml (1029)
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index b72bfaa..9e275fa 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -18,9 +18,11 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.12"
+ cache: pip
+
- name: Install dependencies
- run: |
- pip install -r requirements.txt
+ run: pip install -r requirements.txt
+
- name: Run linting
run: |
black --check .