From 673c7330df196363c0760fe4cca241daa5d03491 Mon Sep 17 00:00:00 2001 From: bouni Date: Fri, 26 Jan 2024 09:06:40 +0100 Subject: [PATCH] Update all used actions to the latest major version --- .github/workflows/kicad-pcm.yml | 2 +- .github/workflows/linter.yml | 8 ++++---- .github/workflows/update_parts_database.yml | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/kicad-pcm.yml b/.github/workflows/kicad-pcm.yml index 534fddfc..1bbdc3a1 100644 --- a/.github/workflows/kicad-pcm.yml +++ b/.github/workflows/kicad-pcm.yml @@ -22,7 +22,7 @@ jobs: id: latest-release - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Create archive run: sh ./PCM/create_pcm_archive.sh ${{ steps.latest-release.outputs.tag }} diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 230dc347..796cea88 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -10,9 +10,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup NodeJS - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 - name: Install markdownlint run: npm install -g markdownlint-cli - name: Run markdownlint @@ -21,9 +21,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.11" - name: Install ruff diff --git a/.github/workflows/update_parts_database.yml b/.github/workflows/update_parts_database.yml index 373871e1..e7f5791b 100644 --- a/.github/workflows/update_parts_database.yml +++ b/.github/workflows/update_parts_database.yml @@ -10,7 +10,7 @@ jobs: environment: github-pages steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install dependencies run: | sudo apt-get update @@ -45,7 +45,7 @@ jobs: du -cslh db_build - name: Upload pages artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: name: github-pages path: db_build @@ -65,9 +65,9 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v4 # delete-artifact - name: Clean - uses: geekyeggo/delete-artifact@v2 + uses: geekyeggo/delete-artifact@v4 with: name: github-pages