From f9f130e0131379de01d88445a5a515ddef2bd94a Mon Sep 17 00:00:00 2001 From: "Md. Almas Ali" Date: Fri, 31 May 2024 00:59:13 +0600 Subject: [PATCH] fix: gh action version update. --- .github/workflows/deploy.yaml | 8 ++++---- .github/workflows/tests.yaml | 11 ++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index ec8b989..c845f6b 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -11,12 +11,12 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: - python-version: "3.x" + python-version: "3.11" - name: Install dependencies run: | @@ -27,7 +27,7 @@ jobs: run: mkdocs build - name: Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./site diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index afc0b69..94f3007 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -8,12 +8,13 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: - python-version: "3.x" + python-version: "3.11" + cache: "pip" - name: Install dependencies run: | @@ -21,9 +22,9 @@ jobs: pip install mkdocs mkdocs-material - name: Set up Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: - node-version: "14" + node-version: "18" - name: Install markdownlint-cli run: npm install -g markdownlint-cli