From 2b11e58b22fbed79596029427c034bedaec0d38a Mon Sep 17 00:00:00 2001 From: andy5995 Date: Sun, 18 Feb 2024 08:04:07 -0600 Subject: [PATCH] CI-fix: pip install requirements --- .github/workflows/codeql.yml | 5 ++++- .github/workflows/linux.yml | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) 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