From cafa38373fee73eae5a764ecf9c5e63347293841 Mon Sep 17 00:00:00 2001 From: AlessandroMiola Date: Wed, 25 Sep 2024 22:56:24 +0200 Subject: [PATCH] chore: update actions to suppress ci warnings --- .github/workflows/deploy_website.yml | 10 +++++----- .github/workflows/test_website.yml | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy_website.yml b/.github/workflows/deploy_website.yml index b21edca..245fb02 100644 --- a/.github/workflows/deploy_website.yml +++ b/.github/workflows/deploy_website.yml @@ -22,7 +22,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Configure safe github directory shell: bash run: git config --global --add safe.directory /__w/website/website @@ -46,7 +46,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Configure safe github directory shell: bash run: git config --global --add safe.directory /__w/website/website @@ -62,12 +62,12 @@ jobs: env: GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }} - name: Setup Pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v5 - name: Upload artifact - uses: actions/upload-pages-artifact@v2 + uses: actions/upload-pages-artifact@v4 with: # Upload entire repository path: ./site - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v4 diff --git a/.github/workflows/test_website.yml b/.github/workflows/test_website.yml index 1ab3f08..124fc59 100644 --- a/.github/workflows/test_website.yml +++ b/.github/workflows/test_website.yml @@ -25,7 +25,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Configure safe github directory shell: bash run: git config --global --add safe.directory /__w/website/website @@ -49,7 +49,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Configure safe github directory shell: bash run: git config --global --add safe.directory /__w/website/website @@ -65,4 +65,4 @@ jobs: env: GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }} - name: Setup Pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v5