Skip to content

Commit 6a92a25

Browse files
author
camilo
committed
update actions
1 parent 7fd1a5b commit 6a92a25

File tree

4 files changed

+14
-12
lines changed

4 files changed

+14
-12
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ on:
77
- 'doc/**'
88
- 'examples/**'
99
- '.vscode/**'
10-
10+
1111
jobs:
1212
build:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout repository and submodules
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v4
1717
with:
1818
submodules: recursive
19-
19+
2020
- name: cmake preparation
2121
run: mkdir build && cd build && cmake ..
22-
22+
2323
- name: build
2424
working-directory: ./build
2525
run: make VERBOSE=1

.github/workflows/doxygen_gen.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-20.04
1212
steps:
1313
- name: Checkout repository and submodules
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v4
1515
with:
1616
submodules: recursive
1717
- name: create dirs
@@ -33,7 +33,7 @@ jobs:
3333
- name: rm gitignore
3434
run: rm .gitignore
3535
- name: Deploy doc
36-
uses: peaceiris/actions-gh-pages@v3
36+
uses: peaceiris/actions-gh-pages@v4
3737
with:
3838
github_token: ${{ secrets.GITHUB_TOKEN }}
3939
publish_dir: ./doxyout/html

.github/workflows/static-analisys.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,24 @@ on:
88
- 'doc/**'
99
- 'examples/**'
1010
- 'tools/**'
11-
11+
1212
jobs:
1313
analize:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v3
17-
with:
16+
- uses: actions/checkout@v4
17+
with:
1818
submodules: recursive
1919
- name: Update OS packages list
2020
run: |
21-
sudo apt-get update -yq
21+
sudo apt-get update -yq
2222
- name: Install analyzer
2323
run: |
2424
sudo apt-get install -y cppcheck python3
2525
mkdir sa_results
26-
- name: General checks
26+
- name: General checks
2727
run: cppcheck --enable=all --inline-suppr --inconclusive --std=c++11 ./src -I ./src/config -I ./src/include --output-file=./sa_results/general.txt --suppress=missingIncludeSystem --suppress=unmatchedSuppression:{} --suppress=unusedFunction:{}
28-
- uses: actions/upload-artifact@v3
28+
- uses: actions/upload-artifact@v4
2929
with:
3030
name: Static_Analisys_Results
3131
path: sa_results

src/include/helper.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,11 @@ namespace qOS {
112112
template <typename DT, typename ST>
113113
inline DT aligned_cast( ST& src )
114114
{
115+
/*cstat -CERT-EXP33-C_a*/
115116
DT dst;
116117
(void)memcpy( &dst, &src, sizeof(ST) );
117118
return dst;
119+
/*cstat +CERT-EXP33-C_a*/
118120
}
119121
/*! @endcond */
120122

0 commit comments

Comments
 (0)