Skip to content

Commit

Permalink
ci: cache pre-commit dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mkniewallner committed Nov 14, 2022
1 parent 1189757 commit 6a7b320
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ jobs:
- name: Check out
uses: actions/checkout@v3

- uses: actions/cache@v3
with:
path: ~/.cache/pre-commit
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}

- name: Set up the environment
uses: ./.github/actions/setup-poetry-env

Expand Down

0 comments on commit 6a7b320

Please sign in to comment.