Skip to content

Commit

Permalink
update actions step versions
Browse files Browse the repository at this point in the history
  • Loading branch information
camilo committed Oct 28, 2024
1 parent edf39e4 commit 8077f21
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive

- name: test
run: make test
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -78,7 +78,7 @@ jobs:
./.github/workflows/codeql-buildscript.sh
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
upload: false
Expand Down Expand Up @@ -107,14 +107,14 @@ jobs:
output: ${{ steps.step1.outputs.sarif-output }}/cpp.sarif

- name: Upload CodeQL results to code scanning
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: ${{ steps.step1.outputs.sarif-output }}
category: "/language:${{matrix.language}}"

- name: Upload CodeQL results as an artifact
if: success() || failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: codeql-results
path: ${{ steps.step1.outputs.sarif-output }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/doxygen_gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive
- name: create dirs
Expand All @@ -24,13 +24,13 @@ jobs:
sed -i 's,https://repository-images.githubusercontent.com/348492097/4f16df80-88fb-11eb-9d31-4015ff22c452,https://github.com/kmilo17pet/QuarkTS/raw/master/doc/quarktslogo.png,g' doc/stylesheet/doxygen-custom/header.html
sed -i 's,Custom CSS theme for doxygen html-documentation with lots of customization parameters,An open-source OS for small embedded applications,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/Doxygen'
- name: 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
16 changes: 8 additions & 8 deletions .github/workflows/static-analisys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,28 @@ on:
- 'tools/**'
- 'src/unity/**'
- 'src/x86_test_do_not_use_it/**'

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 ./src/os -I ./src/config -I ./src/os/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 ./src/os -I ./src/config -I ./src/os/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 ./src/os -I ./src/config -I ./src/os/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

0 comments on commit 8077f21

Please sign in to comment.