diff --git a/.github/workflows/gh-pages.yaml b/.github/workflows/gh-pages.yaml index 6799e663..26ecbdf3 100644 --- a/.github/workflows/gh-pages.yaml +++ b/.github/workflows/gh-pages.yaml @@ -20,17 +20,17 @@ jobs: echo "default_branch=$DEFAULT_BRANCH" >> $GITHUB_ENV echo "default_branch_ref=refs/heads/$DEFAULT_BRANCH" >> $GITHUB_ENV - - name: Set up Python 3.6 + - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.6" + python-version: "3.8" - name: Get pip cache dir id: pip-cache run: echo "::set-output name=dir::$(pip cache dir)" - name: pip cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ${{ steps.pip-cache.outputs.dir }} key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }} @@ -72,7 +72,7 @@ jobs: echo "" >> $FILE; - name: Deploy - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 if: github.ref == env.default_branch_ref with: github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 1201f946..6a1ab3e6 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -58,7 +58,7 @@ jobs: run: echo "::set-output name=dir::$(pip cache dir)" - name: pip cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ${{ steps.pip-cache.outputs.dir }} key: ${{ runner.os }}-pip-py${{ matrix.python-version }}-${{ hashFiles('**/requirements*.txt') }}