mirror of
https://github.com/github/codeql.git
synced 2025-12-26 21:56:39 +01:00
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 3. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
50 lines
1.4 KiB
YAML
50 lines
1.4 KiB
YAML
name: Build framework coverage reports
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
qlModelShaOverride:
|
|
description: 'github/codeql repo SHA used for looking up the CSV models'
|
|
required: false
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Clone self (github/codeql)
|
|
uses: actions/checkout@v3
|
|
with:
|
|
path: script
|
|
- name: Clone self (github/codeql) for analysis
|
|
uses: actions/checkout@v3
|
|
with:
|
|
path: codeqlModels
|
|
ref: ${{ github.event.inputs.qlModelShaOverride || github.ref }}
|
|
- name: Set up Python 3.8
|
|
uses: actions/setup-python@v3
|
|
with:
|
|
python-version: 3.8
|
|
- name: Download CodeQL CLI
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: |
|
|
gh release download --repo "github/codeql-cli-binaries" --pattern "codeql-linux64.zip"
|
|
- name: Unzip CodeQL CLI
|
|
run: unzip -d codeql-cli codeql-linux64.zip
|
|
- name: Build modeled package list
|
|
run: |
|
|
PATH="$PATH:codeql-cli/codeql" python script/misc/scripts/library-coverage/generate-report.py ci codeqlModels script
|
|
- name: Upload CSV package list
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: framework-coverage-csv
|
|
path: framework-coverage-*.csv
|
|
- name: Upload RST package list
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: framework-coverage-rst
|
|
path: framework-coverage-*.rst
|
|
|