From 2f95d2f0d4e0681b16163a4de36b3e01420d96d9 Mon Sep 17 00:00:00 2001 From: Andras Schmelczer Date: Fri, 30 Oct 2026 17:52:14 +0000 Subject: [PATCH] Update actions/cache action to v6 --- .forgejo/workflows/check.yml | 2 +- .forgejo/workflows/publish.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/check.yml b/.forgejo/workflows/check.yml index b611423..8e4c29e 100644 --- a/.forgejo/workflows/check.yml +++ b/.forgejo/workflows/check.yml @@ -22,7 +22,7 @@ jobs: # package-lock.json is gitignored, so cache the global npm download cache # keyed on package.json rather than relying on `npm ci` + a lockfile. - name: Cache npm dependencies - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: ~/.npm key: ${{ runner.os }}-npm-${{ hashFiles('package.json') }} diff --git a/.forgejo/workflows/publish.yml b/.forgejo/workflows/publish.yml index ea3663b..ec2f5fc 100644 --- a/.forgejo/workflows/publish.yml +++ b/.forgejo/workflows/publish.yml @@ -24,7 +24,7 @@ jobs: check-latest: true - name: Cache npm dependencies - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: ~/.npm key: ${{ runner.os }}-npm-${{ hashFiles('package.json') }} @@ -69,7 +69,7 @@ jobs: registry-url: 'https://registry.npmjs.org' - name: Cache npm dependencies - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: ~/.npm key: ${{ runner.os }}-npm-${{ hashFiles('package.json') }} -- 2.54.0