diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index d24573d..2737df0 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -22,8 +22,8 @@ jobs: - name: clang++ run: | clang++ --version && \ - clang++ main.cpp -I include -std=c++20 -O2 -Wall -Wextra -pedantic -Wshadow -Werror \ - ./a.out + clang++ main.cpp -I include -std=c++20 -O2 -Wall -Wextra -pedantic -Wshadow -Werror -o test \ + ./test static_analysis: runs-on: ubuntu-latest