Skip to content

Commit

Permalink
ci: Fix when checks run
Browse files Browse the repository at this point in the history
More checks run on pull requests.

Switch to using M1 macOS runner.
  • Loading branch information
acgetchell committed Apr 13, 2024
1 parent fc1ac31 commit 0dba855
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/clang-format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/[email protected]
with:
clang-format-version: '17'
clang-format-version: '18'
check-path: ${{ matrix.path }}
fallback-style: 'Google' # optional
4 changes: 0 additions & 4 deletions .github/workflows/codecov-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ on:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
workflow_dispatch:

concurrency:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ on:
- main
- develop
pull_request:
# The branches below must be a subset of the branches above
branches:
- main
- develop
schedule:
- cron: '26 7 * * 0'
workflow_dispatch:
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/cppcheck.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
name: Cppcheck

on:
push:
branches:
- main
- develop
pull_request:
workflow_dispatch:
on: [push, pull_request, workflow_dispatch]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/doxygen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ on:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
workflow_dispatch:

jobs:
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/linux-clang.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
name: Linux Clang

on:
push:
branches:
- main
- develop
pull_request:
workflow_dispatch:
on: [push, pull_request, workflow_dispatch]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/linux-gcc.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
name: Linux GCC

on:
push:
branches:
- main
- develop
pull_request:
workflow_dispatch:
on: [push, pull_request, workflow_dispatch]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:

jobs:
build:
runs-on: macos-13
runs-on: macos-latest-xlarge

steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:
- main
- develop
pull_request:
branches:
- main
- develop
workflow_dispatch:

concurrency:
Expand Down

0 comments on commit 0dba855

Please sign in to comment.