diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 61c6495..f6ff89d 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -5,10 +5,12 @@ on: branches: [ trunk ] paths: - '**.c' + - '**codeql.yml' pull_request: branches: [ trunk ] paths: - '**.c' + - '**codeql.yml' jobs: analyze: @@ -24,10 +26,11 @@ jobs: uses: actions/checkout@v2 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: '3.9' cache: 'pip' + - run: pip install -r requirements.txt - name: Install Dependencies run: | diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 9f25843..837e1da 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -10,12 +10,14 @@ on: paths: - '**.c' - 'meson.build' + - '**linux.yml' pull_request: branches: - trunk paths: - '**.c' - 'meson.build' + - '**linux.yml' jobs: build: @@ -34,6 +36,7 @@ jobs: with: python-version: '3.9' cache: 'pip' + - run: pip install -r requirements.txt - name: Install Meson and Ninja run: pip install meson ninja