Skip to content

Commit f1eb7ac

Browse files
authored
Bump deprecated action versions (#156)
* Bump deprecated action versions * fix sonar warning
1 parent 92f5716 commit f1eb7ac

9 files changed

Lines changed: 24 additions & 23 deletions

File tree

.github/workflows/build-test.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,12 @@ jobs:
7373
python3 python3-pip python3-wheel
7474
pip3 install gcovr
7575
- name: Checkout repository
76-
uses: actions/checkout@v4
76+
uses: actions/checkout@v6
7777
with:
7878
fetch-depth: 0
7979
submodules: recursive
8080
- name: ccache
81-
uses: hendrikmuhs/ccache-action@v1.2
81+
uses: hendrikmuhs/ccache-action@v1.2.22
8282
with:
8383
create-symlink: true
8484
- name: Dependencies
@@ -106,7 +106,7 @@ jobs:
106106
./build.sh coverage
107107
./build.sh coverage-summary >> $GITHUB_STEP_SUMMARY
108108
- name: Archive coverage
109-
uses: actions/upload-artifact@v4
109+
uses: actions/upload-artifact@v6
110110
with:
111111
name: ${{github.job}}-${{matrix.os}}-${{matrix.compiler}}-coverage
112112
path: build/default/coverage*
@@ -147,12 +147,12 @@ jobs:
147147
python3 python3-pip python3-wheel
148148
pip3 install gcovr
149149
- name: Checkout repository
150-
uses: actions/checkout@v4
150+
uses: actions/checkout@v6
151151
with:
152152
fetch-depth: 0
153153
submodules: recursive
154154
- name: ccache
155-
uses: hendrikmuhs/ccache-action@v1.2
155+
uses: hendrikmuhs/ccache-action@v1.2.22
156156
with:
157157
create-symlink: true
158158
- name: Dependencies
@@ -179,7 +179,7 @@ jobs:
179179
./build.sh coverage
180180
./build.sh coverage-summary >> $GITHUB_STEP_SUMMARY
181181
- name: Archive coverage
182-
uses: actions/upload-artifact@v4
182+
uses: actions/upload-artifact@v6
183183
with:
184184
name: ${{github.job}}-${{matrix.os}}-gcc-coverage
185185
path: build/default/coverage*

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
7979
steps:
8080
- name: Checkout repository
81-
uses: actions/checkout@v4
81+
uses: actions/checkout@v6
8282
with:
8383
fetch-depth: 0
8484
submodules: recursive

.github/workflows/docs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
contents: read
3737
steps:
3838
- name: Checkout repository
39-
uses: actions/checkout@v4
39+
uses: actions/checkout@v6
4040
with:
4141
fetch-depth: 0
4242
submodules: recursive
@@ -71,7 +71,7 @@ jobs:
7171
tar -cf html.tar html
7272
rm -rf html
7373
- name: Archive
74-
uses: actions/upload-artifact@v4
74+
uses: actions/upload-artifact@v6
7575
with:
7676
name: bsl-api
7777
path: testroot/usr/share/doc/bsl/

.github/workflows/formatting.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
actions: write
3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v4
41+
uses: actions/checkout@v6
4242
with:
4343
fetch-depth: 0
4444
submodules: false

.github/workflows/fuzzing.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@ jobs:
7272
pip3 install gcovr
7373
gem install cbor-diag
7474
- name: Checkout repository
75-
uses: actions/checkout@v4
75+
uses: actions/checkout@v6
7676
with:
7777
fetch-depth: 0
7878
submodules: recursive
7979
- name: ccache
80-
uses: hendrikmuhs/ccache-action@v1.2
80+
uses: hendrikmuhs/ccache-action@v1.2.22
8181
with:
8282
create-symlink: true
8383
- name: Dependencies
@@ -99,7 +99,7 @@ jobs:
9999
- name: Collect coverage
100100
run: ./build.sh coverage
101101
- name: Archive coverage
102-
uses: actions/upload-artifact@v4
102+
uses: actions/upload-artifact@v6
103103
with:
104104
name: ${{github.job}}-${{matrix.os}}-${{matrix.compiler}}-coverage
105105
path: build/default/coverage*

.github/workflows/packages.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ jobs:
4747
asciidoctor \
4848
tito rpm-build rpmlint
4949
- name: Checkout repository
50-
uses: actions/checkout@v4
50+
uses: actions/checkout@v6
5151
with:
5252
fetch-depth: 0
5353
submodules: recursive
5454
- name: ccache
55-
uses: hendrikmuhs/ccache-action@v1.2
55+
uses: hendrikmuhs/ccache-action@v1.2.22
5656
with:
5757
create-symlink: true
5858
- name: Build
@@ -69,7 +69,7 @@ jobs:
6969
echo >> $GITHUB_STEP_SUMMARY
7070
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
7171
- name: Archive
72-
uses: actions/upload-artifact@v4
72+
uses: actions/upload-artifact@v6
7373
with:
7474
name: bsl-rpm
7575
path: |

.github/workflows/sonarqube.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
env:
3636
BUILD_WRAPPER_OUT_DIR: build_wrapper_output_directory # Directory where build-wrapper output will be placed
3737
steps:
38-
- uses: actions/checkout@v4
38+
- uses: actions/checkout@v6
3939
with:
4040
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
4141
submodules: recursive
@@ -51,7 +51,7 @@ jobs:
5151
./build.sh deps
5252
./build.sh prep -DTEST_MEMCHECK=OFF -DBUILD_COVERAGE=ON -DBUILD_DOCS_API=OFF -DBUILD_DOCS_MAN=OFF
5353
- name: Install Build Wrapper
54-
uses: SonarSource/sonarqube-scan-action/install-build-wrapper@v6
54+
uses: SonarSource/sonarqube-scan-action/install-build-wrapper@v7
5555
- name: Run Build Wrapper
5656
run: |
5757
build-wrapper-linux-x86-64 --out-dir ${{env.BUILD_WRAPPER_OUT_DIR}} ./build.sh
@@ -67,7 +67,7 @@ jobs:
6767
run: |
6868
./build.sh --target coverage-sonarqube -v
6969
- name: SonarQube Scan
70-
uses: SonarSource/sonarqube-scan-action@v6
70+
uses: SonarSource/sonarqube-scan-action@v7
7171
env:
7272
SONAR_TOKEN: ${{secrets.SONAR_TOKEN}}
7373
with:

.gitignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# Editor files
22
*~
33
.vscode
4-
.project
5-
.cproject
6-
.pydevproject
4+
/.project
5+
/.cproject
6+
/.pydevproject
7+
/.externalToolBuilders/
78

89
# Build files
910
/deps/build/

src/policy_provider/SamplePolicyProvider.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ void BSLP_PolicyRule_Deinit(BSLP_PolicyRule_t *self);
194194
/// @cond Doxygen_Suppress
195195
// NOLINTBEGIN
196196
// GCOV_EXCL_START
197-
M_ARRAY_DEF(BSLP_PolicyRuleList, BSLP_PolicyRule_t, M_OPL_BSLP_PolicyRule_t()) // GCOV_EXCL_STOP
197+
M_ARRAY_DEF(BSLP_PolicyRuleList, BSLP_PolicyRule_t, M_OPL_BSLP_PolicyRule_t())
198198
// GCOV_EXCL_STOP
199199
// NOLINTEND
200200
/// @endcond

0 commit comments

Comments
 (0)