Browse Source

Update github actions

Chocobozzz 2 months ago
parent
commit
ca90b8f651

+ 2 - 2
.github/actions/reusable-prepare-peertube-build/action.yml

@@ -12,12 +12,12 @@ runs:
 
   steps:
     - name: Use Node.js
-      uses: actions/setup-node@v3
+      uses: actions/setup-node@v4
       with:
         node-version: ${{ inputs.node-version }}
 
     - name: Cache Node.js modules
-      uses: actions/cache@v3
+      uses: actions/cache@v4
       with:
         path: |
           **/node_modules

+ 1 - 1
.github/workflows/benchmark.yml

@@ -31,7 +31,7 @@ jobs:
       PGHOST: localhost
 
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
 
       - uses: './.github/actions/reusable-prepare-peertube-build'
         with:

+ 1 - 1
.github/workflows/codeql.yml

@@ -35,7 +35,7 @@ jobs:
 
     steps:
     - name: Checkout repository
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
 
     # Initializes the CodeQL tools for scanning.
     - name: Initialize CodeQL

+ 2 - 2
.github/workflows/docker.yml

@@ -15,7 +15,7 @@ jobs:
       matrix: ${{ steps.set-matrix.outputs.matrix }}
     steps:
       - name: Checkout
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
         with:
           ref: master
       - name: Set matrix for build
@@ -58,7 +58,7 @@ jobs:
 
       -
         name: Checkout develop
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
         with:
           ref: ${{ matrix.ref }}
       -

+ 1 - 1
.github/workflows/nightly.yml

@@ -12,7 +12,7 @@ jobs:
     steps:
       -
         name: Checkout develop
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
         with:
           ref: develop
 

+ 1 - 1
.github/workflows/stats.yml

@@ -18,7 +18,7 @@ jobs:
       CI_BRANCH_BASE: develop
 
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
 
       - uses: './.github/actions/reusable-prepare-peertube-build'
         with:

+ 2 - 2
.github/workflows/test.yml

@@ -52,7 +52,7 @@ jobs:
       YOUTUBE_DL_DOWNLOAD_BEARER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
 
       - uses: './.github/actions/reusable-prepare-peertube-build'
         with:
@@ -61,7 +61,7 @@ jobs:
       - uses: './.github/actions/reusable-prepare-peertube-run'
 
       - name: Cache fixtures
-        uses: actions/cache@v3
+        uses: actions/cache@v4
         with:
           path: |
             fixtures