diff --git a/.github/workflows/doxygen_gen.yml b/.github/workflows/doxygen_gen.yml index 03836bb..5e92c81 100644 --- a/.github/workflows/doxygen_gen.yml +++ b/.github/workflows/doxygen_gen.yml @@ -11,21 +11,21 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository and submodules - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: - submodules: recursive + submodules: recursive - name: create dirs run: mkdir docout - name: set repo url on corner run: sed -i 's,https://github.com/jothepro/doxygen-awesome-css,https://github.com/kmilo17pet/qlibs,g' doc/stylesheet/doxygen-custom/header.html - name: Doxygen Action - uses: mattnotmitt/doxygen-action@v1.9.2 + uses: mattnotmitt/doxygen-action@edge with: doxyfile-path: './doc/Doxyfile' - name: rm gitignore - run: rm .gitignore + run: rm .gitignore - name: Deploy doc - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./doxyout/html + publish_dir: ./doxyout/html diff --git a/.github/workflows/static-analisys.yml b/.github/workflows/static-analisys.yml index 900e16c..7a5ca0c 100644 --- a/.github/workflows/static-analisys.yml +++ b/.github/workflows/static-analisys.yml @@ -6,28 +6,28 @@ on: paths-ignore: - 'dep/**' - 'doc/**' - + jobs: analize: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - with: + - uses: actions/checkout@v4 + with: submodules: recursive - name: Update OS packages list run: | - sudo apt-get update -yq + sudo apt-get update -yq - name: Install analyzer run: | sudo apt-get install -y cppcheck python3 mkdir sa_results - - name: General checks + - name: General checks run: cppcheck --enable=all --inline-suppr --inconclusive --std=c99 ./ -I ./include --output-file=./sa_results/general.txt --suppress=missingIncludeSystem --suppress=unmatchedSuppression:{} - - name: CERT checks + - name: CERT checks run: cppcheck --addon=cert.py --inline-suppr --inconclusive --std=c99 ./ -I ./include --output-file=./sa_results/cert.txt --suppress=missingIncludeSystem --suppress=unmatchedSuppression:{} - - name: MISRA checks + - name: MISRA checks run: cppcheck --addon=./check/misra.json --inline-suppr --inconclusive --std=c99 ./ -I ./include --output-file=./sa_results/misra.txt --suppress=missingIncludeSystem --suppress=unmatchedSuppression:{} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: Static_Analisys_Results path: sa_results