mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
46 lines
1.3 KiB
YAML
46 lines
1.3 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
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Clone self (github/codeql)
|
|
uses: actions/checkout@v5
|
|
with:
|
|
path: script
|
|
- name: Clone self (github/codeql) for analysis
|
|
uses: actions/checkout@v5
|
|
with:
|
|
path: codeqlModels
|
|
ref: ${{ github.event.inputs.qlModelShaOverride || github.ref }}
|
|
- name: Set up Python 3.8
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: 3.8
|
|
- name: Download CodeQL CLI
|
|
uses: ./script/.github/actions/fetch-codeql
|
|
- name: Build modeled package list
|
|
run: |
|
|
python script/misc/scripts/library-coverage/generate-report.py ci codeqlModels script
|
|
- name: Upload CSV package list
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: framework-coverage-csv
|
|
path: framework-coverage-*.csv
|
|
- name: Upload RST package list
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: framework-coverage-rst
|
|
path: framework-coverage-*.rst
|