diff --git a/.github/workflows/buildOnly.yml b/.github/workflows/buildOnly.yml index 37ab813..03fbafe 100644 --- a/.github/workflows/buildOnly.yml +++ b/.github/workflows/buildOnly.yml @@ -11,6 +11,13 @@ jobs: uses: actions/setup-python@v1 with: python-version: 3.7 + + - uses: actions/cache@v2 + with: + path: ~/.cache/pip + key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} + restore-keys: | + ${{ runner.os }}-pip- - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/publishAndBuild.yml b/.github/workflows/publishAndBuild.yml index 7204727..8804068 100644 --- a/.github/workflows/publishAndBuild.yml +++ b/.github/workflows/publishAndBuild.yml @@ -14,6 +14,12 @@ jobs: uses: actions/setup-python@v1 with: python-version: 3.7 + - uses: actions/cache@v2 + with: + path: ~/.cache/pip + key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} + restore-keys: | + ${{ runner.os }}-pip- - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.gitignore b/.gitignore index af8afbe..a798229 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .DS_Store docs/index.md -site/ \ No newline at end of file +site/ +.venv/