Bump Github Actions to Node.JS 20. (#15873)

* Bump dessant/label-actions to v4.

* Bump Cache and Checkout to v4.

* Bump crazy-max/ghaction-github-status to v4.
This commit is contained in:
Walkablenormal 2024-03-03 21:28:35 +01:00 committed by GitHub
parent 7961e8156c
commit abd44aa655
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 11 additions and 11 deletions

View File

@ -25,7 +25,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
-
name: Build mkdocs Docker image
run: |
@ -37,13 +37,13 @@ jobs:
sudo chown -R $(id -u):$(id -g) ./out
-
name: Check GitHub Pages status
uses: crazy-max/ghaction-github-status@v2
uses: crazy-max/ghaction-github-status@v4
with:
pages_threshold: major_outage
-
name: Deploy
if: github.event_name != 'pull_request' && endsWith(github.ref, github.event.repository.default_branch)
uses: crazy-max/ghaction-github-pages@v2
uses: crazy-max/ghaction-github-pages@v4
with:
repo: librenms/docs.librenms.org
target_branch: main

View File

@ -18,4 +18,4 @@ jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/label-actions@v2
- uses: dessant/label-actions@v4

View File

@ -19,7 +19,7 @@ jobs:
steps:
-
name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
@ -46,7 +46,7 @@ jobs:
steps:
-
name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4
-
name: Set up PHP
@ -63,7 +63,7 @@ jobs:
-
name: Cache composer
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ matrix.php }}-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/composer.lock') }}
@ -71,7 +71,7 @@ jobs:
-
name: Cache pip
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/requirements.txt') }}

View File

@ -56,7 +56,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
-
@ -86,7 +86,7 @@ jobs:
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
-
name: Cache composer
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/composer.lock') }}
@ -94,7 +94,7 @@ jobs:
${{ runner.os }}-composer-${{ secrets.CACHE_VERSION }}-
-
name: Cache pip
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/requirements.txt') }}