From 49d173a02dd7f61fa3670af7d43b099e4f9a6c32 Mon Sep 17 00:00:00 2001 From: Bowen Liang Date: Wed, 27 Nov 2024 00:08:50 +0800 Subject: [PATCH] Update Github actions (#1639) * actions/checkout@v4 * actions/cache@v4 * actions/setup-python@v5 --------- Co-authored-by: Brandon Hancock (bhancock_ai) <109994880+bhancockio@users.noreply.github.com> --- .github/workflows/linter.yml | 2 +- .github/workflows/mkdocs.yml | 8 ++++---- .github/workflows/security-checker.yml | 2 +- .github/workflows/type-checker.yml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index a7223c506..7ced70df9 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -6,7 +6,7 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Requirements run: | diff --git a/.github/workflows/mkdocs.yml b/.github/workflows/mkdocs.yml index a15ae0363..84d627db4 100644 --- a/.github/workflows/mkdocs.yml +++ b/.github/workflows/mkdocs.yml @@ -13,10 +13,10 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' @@ -25,7 +25,7 @@ jobs: run: echo "::set-output name=hash::$(sha256sum requirements-doc.txt | awk '{print $1}')" - name: Setup cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: mkdocs-material-${{ steps.req-hash.outputs.hash }} path: .cache @@ -42,4 +42,4 @@ jobs: GH_TOKEN: ${{ secrets.GH_TOKEN }} - name: Build and deploy MkDocs - run: mkdocs gh-deploy --force \ No newline at end of file + run: mkdocs gh-deploy --force diff --git a/.github/workflows/security-checker.yml b/.github/workflows/security-checker.yml index 665f49292..1588e3ddf 100644 --- a/.github/workflows/security-checker.yml +++ b/.github/workflows/security-checker.yml @@ -11,7 +11,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.11.9" diff --git a/.github/workflows/type-checker.yml b/.github/workflows/type-checker.yml index 72c64dbd3..c694c8cec 100644 --- a/.github/workflows/type-checker.yml +++ b/.github/workflows/type-checker.yml @@ -14,7 +14,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.11.9"