diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 0525b3a..0a262cb 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -51,13 +51,17 @@ jobs: - name: Checkout repository uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - - name: Get Meson + - name: Setup Python with Meson + uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0 + with: + python-version: '>=3.10.12' + check-latest: true + cache: 'pip' + - run: pip install -r requirements.txt + + - name: Get libmozjs run: | - sudo apt-get install -y build-essential && - pip install ninja && - pip install meson && sudo apt-get install -y libmozjs-102-dev - shell: bash # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL