From 55bdfdc8613a80e1e7dce26fa2c7d2951f231bd4 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Fri, 2 Feb 2024 12:53:38 -0300 Subject: [PATCH] [Pre-commit] Bumped GitHub Actions versions --- .github/workflows/pre-commit.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 73af5e37..c91dd2b7 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -14,12 +14,12 @@ jobs: - run: sudo apt-get update && sudo apt-get install cppcheck if: false - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: cache: pip python-version: "3.11" - run: python -m pip install pre-commit regex - - uses: actions/cache/restore@v3 + - uses: actions/cache/restore@v4 with: path: ~/.cache/pre-commit/ key: pre-commit-4|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') @@ -40,14 +40,14 @@ jobs: files: ${{ env.CS_XML }} notices-as-warnings: true # optional prepend-filename: true # optional - - uses: actions/cache/save@v3 + - uses: actions/cache/save@v4 if: ${{ always() }} with: path: ~/.cache/pre-commit/ key: pre-commit-4|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }} - name: Provide log as artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ always() }} with: name: precommit-logs