Browse Source

Fix build pipeline Node.js 12 actions are deprecated. (#565)

Tino Hager 2 years ago
parent
commit
ac237d4921
2 changed files with 6 additions and 6 deletions
  1. 4 4
      .github/workflows/codeql-analysis.yml
  2. 2 2
      .github/workflows/dotnet-desktop.yml

+ 4 - 4
.github/workflows/codeql-analysis.yml

@@ -38,11 +38,11 @@ jobs:
 
 
     steps:
     steps:
     - name: Checkout repository
     - name: Checkout repository
-      uses: actions/checkout@v2
+      uses: actions/checkout@v3
 
 
     # Initializes the CodeQL tools for scanning.
     # Initializes the CodeQL tools for scanning.
     - name: Initialize CodeQL
     - name: Initialize CodeQL
-      uses: github/codeql-action/init@v1
+      uses: github/codeql-action/init@v2
       with:
       with:
         languages: ${{ matrix.language }}
         languages: ${{ matrix.language }}
         # If you wish to specify custom queries, you can do so here or in a config file.
         # If you wish to specify custom queries, you can do so here or in a config file.
@@ -53,7 +53,7 @@ jobs:
     # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).
     # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).
     # If this step fails, then you should remove it and run the build manually (see below)
     # If this step fails, then you should remove it and run the build manually (see below)
     - name: Autobuild
     - name: Autobuild
-      uses: github/codeql-action/autobuild@v1
+      uses: github/codeql-action/autobuild@v2
 
 
     # ℹ️ Command-line programs to run using the OS shell.
     # ℹ️ Command-line programs to run using the OS shell.
     # 📚 https://git.io/JvXDl
     # 📚 https://git.io/JvXDl
@@ -67,4 +67,4 @@ jobs:
     #   make release
     #   make release
 
 
     - name: Perform CodeQL Analysis
     - name: Perform CodeQL Analysis
-      uses: github/codeql-action/analyze@v1
+      uses: github/codeql-action/analyze@v2

+ 2 - 2
.github/workflows/dotnet-desktop.yml

@@ -26,10 +26,10 @@ jobs:
 
 
     steps:
     steps:
       - name: 📝 Fetch Sources 📝
       - name: 📝 Fetch Sources 📝
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
 
 
       - name: ⚙ Setup .NET 6.0 SDK ⚙
       - name: ⚙ Setup .NET 6.0 SDK ⚙
-        uses: actions/setup-dotnet@v1
+        uses: actions/setup-dotnet@v3
         with:
         with:
           dotnet-version: '6.0.x'
           dotnet-version: '6.0.x'