CI: Move to codecov-action@4
[kconfig-hardened-check.git] / .github / workflows / engine_unit-test.yml
index 7f1665a04566e84477de82bd93f6927b49420351..e60b09bafd1c25c66f13bd8aaa3fd7a5a23f68f5 100644 (file)
@@ -20,12 +20,12 @@ jobs:
     steps:
 
     - name: Set up Python ${{ matrix.python-version }}
-      uses: actions/setup-python@v4
+      uses: actions/setup-python@v5
       with:
         python-version: ${{ matrix.python-version }}
 
     - name: Get source code for collecting coverage
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
 
     - name: Install coverage
       run: |
@@ -38,7 +38,9 @@ jobs:
         coverage xml -i -o coverage_unittest.xml
 
     - name: Handle coverage
-      uses: codecov/codecov-action@v3
+      uses: codecov/codecov-action@v4
+      env:
+        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
       with:
         files: ./coverage_unittest.xml
         flags: engine_unit-test