From 384aff7fd5354f35432e4df69ef8be2ba6e0a358 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Sun, 16 Mar 2025 23:38:51 +1000 Subject: [PATCH 1/2] Bump actions versions --- .github/workflows/lint.yml | 4 ++-- .github/workflows/super-linter.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a7bbc52..e5178d3 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,8 +7,8 @@ jobs: name: Run pre-commit # https://pre-commit.com/ runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 # https://www.python.org/ + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 # https://www.python.org/ with: python-version: "3.x" # Version range or exact version of a Python version to use, using SemVer's version range syntax architecture: "x64" # optional x64 or x86. Defaults to x64 if not specified diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml index 830da84..de91e51 100644 --- a/.github/workflows/super-linter.yml +++ b/.github/workflows/super-linter.yml @@ -7,7 +7,7 @@ jobs: name: GitHub Super-Linter runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: github/super-linter@v4.6.0 env: ERROR_ON_MISSING_EXEC_BIT: true From d55de29671e431f3d370766505da86148d236859 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Sun, 16 Mar 2025 23:51:36 +1000 Subject: [PATCH 2/2] Fix up --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e5178d3..d90475a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -18,7 +18,7 @@ jobs: pip install pre-commit - name: Set PY run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV - - uses: actions/cache@v2.1.6 + - uses: actions/cache@v3 with: path: ~/.cache/pre-commit key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}