diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 953d2038..60b869a3 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -17,7 +17,12 @@ jobs: python-version: "3.9" architecture: "x64" - - uses: Gr1N/setup-poetry@v4 + - uses: Gr1N/setup-poetry@v7 + + - uses: actions/cache@v2 + with: + path: ~/.cache/pypoetry/virtualenvs + key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }} - name: Install dependencies run: poetry install -E all diff --git a/.github/workflows/release-plugin-docs.yml b/.github/workflows/release-plugin-docs.yml index fbc226a1..df784236 100644 --- a/.github/workflows/release-plugin-docs.yml +++ b/.github/workflows/release-plugin-docs.yml @@ -11,8 +11,21 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: 3.8 + architecture: "x64" + + - uses: Gr1N/setup-poetry@v7 + + - uses: actions/cache@v2 + with: + path: ~/.cache/pypoetry/virtualenvs + key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }} + - name: Setup Node - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: node-version: "16" @@ -26,14 +39,6 @@ jobs: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: 3.8 - architecture: "x64" - - - uses: Gr1N/setup-poetry@v4 - - name: Install and build run: | poetry install -E all diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 75443deb..219bfbda 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,15 +18,15 @@ jobs: python-version: 3.8 architecture: "x64" - - uses: Gr1N/setup-poetry@v4 + - uses: Gr1N/setup-poetry@v7 - - uses: actions/cache@v1 + - uses: actions/cache@v2 with: path: ~/.cache/pypoetry/virtualenvs key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }} - name: Setup Node - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: node-version: "16" diff --git a/.github/workflows/website-deploy.yml b/.github/workflows/website-deploy.yml index 0d6271d4..e5956fd3 100644 --- a/.github/workflows/website-deploy.yml +++ b/.github/workflows/website-deploy.yml @@ -23,15 +23,15 @@ jobs: python-version: 3.8 architecture: "x64" - - uses: Gr1N/setup-poetry@v4 + - uses: Gr1N/setup-poetry@v7 - - uses: actions/cache@v1 + - uses: actions/cache@v2 with: path: ~/.cache/pypoetry/virtualenvs key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }} - name: Setup Node - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: node-version: "16"