Skip to content

Commit

Permalink
remove deprecated AnalyzeTemporaryDtors (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
serges147 authored May 6, 2024
1 parent 417d92c commit 6c7c12e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 14 deletions.
1 change: 0 additions & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,5 @@ CheckOptions:
value: '99'
WarningsAsErrors: '*'
HeaderFilterRegex: '.*'
AnalyzeTemporaryDtors: false
FormatStyle: file
...
24 changes: 12 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
c-compiler: clang
cxx-compiler: clang++
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
# language=bash
Expand All @@ -34,7 +34,7 @@ jobs:
cd ${{ github.workspace }}/build
make VERBOSE=1 -j$(nproc)
make test ARGS="--verbose"
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: always()
with:
# The matrix is shown for convenience but this is fragile because the values may not be string-convertible.
Expand All @@ -60,7 +60,7 @@ jobs:
c-compiler: clang
cxx-compiler: clang++
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
# language=bash
Expand All @@ -78,7 +78,7 @@ jobs:
cd ${{ github.workspace }}/build
make VERBOSE=1 -j$(nproc)
make test ARGS="--verbose"
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: always()
with:
# The matrix is shown for convenience but this is fragile because the values may not be string-convertible.
Expand All @@ -97,7 +97,7 @@ jobs:
matrix:
std: [ 'c99', 'c11', 'gnu99', 'gnu11' ]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# language=bash
- run: |
sudo apt update -y && sudo apt upgrade -y
Expand All @@ -114,7 +114,7 @@ jobs:
matrix:
std: [ 'c99', 'c11', 'gnu99', 'gnu11' ]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# language=bash
- run: |
sudo apt update -y && sudo apt upgrade -y
Expand All @@ -132,15 +132,15 @@ jobs:
contains(github.event.head_commit.message, '#sonar')
)
env:
SONAR_SCANNER_VERSION: 4.8.0.2856
SONAR_SCANNER_VERSION: 5.0.1.3006
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
submodules: true
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'zulu'
Expand All @@ -164,7 +164,7 @@ jobs:
# language=bash
- run: |
[ -z "$SONAR_TOKEN" ] || tools/run_sonar.sh
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: always()
with:
name: ${{github.job}}
Expand All @@ -175,8 +175,8 @@ jobs:
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: DoozyX/clang-format-lint-action@v0.15
- uses: actions/checkout@v4
- uses: DoozyX/clang-format-lint-action@v0.17
with:
source: './libudpard ./tests'
extensions: 'c,h,cpp,hpp'
Expand Down
1 change: 0 additions & 1 deletion tests/.clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,5 @@ Checks: >-
-cppcoreguidelines-owning-memory,
WarningsAsErrors: '*'
HeaderFilterRegex: '.*\.hpp'
AnalyzeTemporaryDtors: false
FormatStyle: file
...

0 comments on commit 6c7c12e

Please sign in to comment.