Run valgrind tests when GitHub Actions file changes

This commit is contained in:
Andrew Murray 2023-03-05 07:05:49 +11:00
parent 06cb3426ef
commit 1497e9ef65

View File

@ -5,10 +5,12 @@ name: Test Valgrind
on: on:
push: push:
paths: paths:
- ".github/workflows/test-valgrind.yml"
- "**.c" - "**.c"
- "**.h" - "**.h"
pull_request: pull_request:
paths: paths:
- ".github/workflows/test-valgrind.yml"
- "**.c" - "**.c"
- "**.h" - "**.h"
workflow_dispatch: workflow_dispatch:
@ -16,7 +18,7 @@ on:
permissions: permissions:
contents: read contents: read
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.ref }} group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true cancel-in-progress: true