Skip to content

Commit c605f50

Browse files
committedMar 15, 2025·
Update GitHub Actions workflows for improved functionality
- Modified `analyze.yml` to trigger on version tags and removed `develop` branch. - Renamed `make check` to `make test` in `c-cpp.yml` for clarity. - Added read permissions in `sanitize.yml` and updated to trigger on version tags. - Changed `make tidy` to `make clangtidy` in `tidy.yml` for consistency in naming.
1 parent 668918c commit c605f50

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed
 

‎.github/workflows/analyze.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ permissions:
44

55
on:
66
push:
7-
branches: [ "master", "develop" ]
7+
branches: [ "master" ]
8+
tags: [ "v*" ]
89
paths-ignore:
910
- "doc/**"
1011
- "*.md"

‎.github/workflows/c-cpp.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ jobs:
5858
env:
5959
CXX: ${{ matrix.compiler }}
6060
run: make -j$(nproc) CI_BUILD=1
61-
- name: make check
61+
- name: make test
6262
if: runner.os == 'Linux'
6363
env:
6464
CXX: ${{ matrix.compiler }}
65-
run: make check CI_BUILD=1
65+
run: make test CI_BUILD=1
6666
- name: CMake Build (Windows)
6767
if: runner.os == 'Windows'
6868
run: |

‎.github/workflows/sanitize.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
name: Sanitize
2+
permissions:
3+
contents: read
24

35
on:
46
push:
57
branches: [ "master", "develop" ]
8+
tags: [ "v*" ]
69
paths-ignore:
710
- "doc/**"
811
- "*.md"

‎.github/workflows/tidy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
sudo apt-get update -yq
3434
sudo apt-get install -yq clang-tidy
3535
- name: Run clang-tidy
36-
run: make tidy CI_BUILD=1
36+
run: make clangtidy CI_BUILD=1
3737
shellcheck:
3838
runs-on: ubuntu-latest
3939
steps:

0 commit comments

Comments
 (0)
Please sign in to comment.