Skip to content

Commit

Permalink
Fix actions (#102)
Browse files Browse the repository at this point in the history
* Fix actions
* Add .github to paths
* Fix ci brances stanza
  • Loading branch information
Bronek authored Oct 19, 2024
1 parent 7c0ac44 commit 298a66b
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ name: build

on:
push:
branches:
- '*'
paths:
- '.github/**'
- 'cmake/**'
- 'CMakeLists.txt'
- '*.cpp'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ on:
# This is meant to run at 13:17 on 11th of every month
- cron: '17 13 11 * *'
push:
branch:
branches:
- main
paths:
- '.github/**'
- 'ci/**'
workflow_dispatch:

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ name: clang-format

on:
push:
branches:
- '*'
paths:
- '.clang-format'
- '.github/**'
- '*.cpp'
- '*.hpp'
- '*.ipp'
- '.clang-format'

jobs:
format-check:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@ name: coverage

on:
push:
branches:
- '*'
paths:
- '.codecov.yml'
- '.github/**'
- 'cmake/**'
- 'CMakeLists.txt'
- '*.cpp'
- '*.hpp'
- '*.ipp'
- '.codecov.yml'

jobs:
coverage:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ on:
push:
branches:
- main
paths:
- '.github/**'
- 'cmake/**'
- 'CMakeLists.txt'
- '*.cpp'
- '*.hpp'
- '*.ipp'
- 'docs/**'
workflow_dispatch:

permissions:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@ name: license

on:
push:
branches:
- '*'
paths:
- '.fossa.yml'
- 'LICENSE*'
- '.github/**'
- 'cmake/**'
- 'CMakeLists.txt'
- '*.cpp'
- '*.hpp'
- '*.ipp'
- '.fossa.yml'
- 'LICENSE*'

jobs:
license-check:
Expand Down

0 comments on commit 298a66b

Please sign in to comment.