Browse Source

Upgrade CI actions

Chocobozzz 1 year ago
parent
commit
388a31d241

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

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

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

@@ -31,7 +31,7 @@ jobs:
       PGHOST: localhost
 
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
 
       - 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@v2
+      uses: actions/checkout@v3
 
     # 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@v2
+        uses: actions/checkout@v3
         with:
           ref: master
       - name: Set matrix for build
@@ -58,7 +58,7 @@ jobs:
 
       -
         name: Checkout develop
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
         with:
           ref: ${{ matrix.ref }}
       -

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

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

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

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

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

@@ -48,7 +48,7 @@ jobs:
       ENABLE_OBJECT_STORAGE_TESTS: true
 
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
 
       - uses: './.github/actions/reusable-prepare-peertube-build'
         with:
@@ -57,7 +57,7 @@ jobs:
       - uses: './.github/actions/reusable-prepare-peertube-run'
 
       - name: Cache fixtures
-        uses: actions/cache@v2
+        uses: actions/cache@v3
         with:
           path: |
             fixtures