run-codeql 1.0.0__tar.gz → 1.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {run_codeql-1.0.0 → run_codeql-1.1.1}/.github/workflows/ci.yml +3 -0
- run_codeql-1.1.1/.github/workflows/release.yml +72 -0
- {run_codeql-1.0.0 → run_codeql-1.1.1}/PKG-INFO +1 -1
- {run_codeql-1.0.0 → run_codeql-1.1.1}/pyproject.toml +1 -1
- run_codeql-1.0.0/.github/workflows/release.yml +0 -40
- {run_codeql-1.0.0 → run_codeql-1.1.1}/.gitignore +0 -0
- {run_codeql-1.0.0 → run_codeql-1.1.1}/LICENSE +0 -0
- {run_codeql-1.0.0 → run_codeql-1.1.1}/Makefile +0 -0
- {run_codeql-1.0.0 → run_codeql-1.1.1}/README.md +0 -0
- {run_codeql-1.0.0 → run_codeql-1.1.1}/run_codeql/__init__.py +0 -0
- {run_codeql-1.0.0 → run_codeql-1.1.1}/run_codeql/__main__.py +0 -0
- {run_codeql-1.0.0 → run_codeql-1.1.1}/run_codeql/cli.py +0 -0
- {run_codeql-1.0.0 → run_codeql-1.1.1}/run_codeql/download.py +0 -0
- {run_codeql-1.0.0 → run_codeql-1.1.1}/run_codeql/logging_utils.py +0 -0
- {run_codeql-1.0.0 → run_codeql-1.1.1}/run_codeql/sarif.py +0 -0
- {run_codeql-1.0.0 → run_codeql-1.1.1}/run_codeql/scanner.py +0 -0
- {run_codeql-1.0.0 → run_codeql-1.1.1}/run_codeql/settings.py +0 -0
- {run_codeql-1.0.0 → run_codeql-1.1.1}/tests/fixtures/empty-code-quality.sarif +0 -0
- {run_codeql-1.0.0 → run_codeql-1.1.1}/tests/fixtures/python-code-quality.sarif +0 -0
- {run_codeql-1.0.0 → run_codeql-1.1.1}/tests/test_cleanup_reports.py +0 -0
- {run_codeql-1.0.0 → run_codeql-1.1.1}/tests/test_cli.py +0 -0
- {run_codeql-1.0.0 → run_codeql-1.1.1}/tests/test_cli_filters.py +0 -0
- {run_codeql-1.0.0 → run_codeql-1.1.1}/tests/test_detect_langs.py +0 -0
- {run_codeql-1.0.0 → run_codeql-1.1.1}/tests/test_download_integrity.py +0 -0
- {run_codeql-1.0.0 → run_codeql-1.1.1}/tests/test_safe_extract.py +0 -0
- {run_codeql-1.0.0 → run_codeql-1.1.1}/tests/test_sarif_filters.py +0 -0
- {run_codeql-1.0.0 → run_codeql-1.1.1}/tests/test_summarize_sarif.py +0 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
|
|
7
|
+
permissions:
|
|
8
|
+
contents: write
|
|
9
|
+
id-token: write # required for PyPI trusted publishing
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
ci:
|
|
13
|
+
name: Test (Python ${{ matrix.python-version }})
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
permissions:
|
|
16
|
+
contents: read
|
|
17
|
+
strategy:
|
|
18
|
+
fail-fast: false
|
|
19
|
+
matrix:
|
|
20
|
+
python-version: ["3.10", "3.11", "3.12"]
|
|
21
|
+
steps:
|
|
22
|
+
- uses: actions/checkout@v4
|
|
23
|
+
- uses: actions/setup-python@v5
|
|
24
|
+
with:
|
|
25
|
+
python-version: ${{ matrix.python-version }}
|
|
26
|
+
- run: pip install -e ".[dev]"
|
|
27
|
+
- run: pytest tests/ -v
|
|
28
|
+
|
|
29
|
+
lint:
|
|
30
|
+
name: Lint
|
|
31
|
+
runs-on: ubuntu-latest
|
|
32
|
+
permissions:
|
|
33
|
+
contents: read
|
|
34
|
+
steps:
|
|
35
|
+
- uses: actions/checkout@v4
|
|
36
|
+
- uses: actions/setup-python@v5
|
|
37
|
+
with:
|
|
38
|
+
python-version: "3.12"
|
|
39
|
+
- run: pip install black ruff
|
|
40
|
+
- run: black --check run_codeql tests
|
|
41
|
+
- run: ruff check run_codeql tests
|
|
42
|
+
|
|
43
|
+
release:
|
|
44
|
+
name: Semantic Release
|
|
45
|
+
runs-on: ubuntu-latest
|
|
46
|
+
needs: [ci, lint]
|
|
47
|
+
concurrency: release
|
|
48
|
+
steps:
|
|
49
|
+
- uses: actions/checkout@v4
|
|
50
|
+
with:
|
|
51
|
+
fetch-depth: 0
|
|
52
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
53
|
+
|
|
54
|
+
- uses: actions/setup-python@v5
|
|
55
|
+
with:
|
|
56
|
+
python-version: "3.12"
|
|
57
|
+
|
|
58
|
+
- run: pip install python-semantic-release build twine
|
|
59
|
+
|
|
60
|
+
- name: Semantic Release
|
|
61
|
+
id: release
|
|
62
|
+
env:
|
|
63
|
+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
64
|
+
run: semantic-release version --push
|
|
65
|
+
|
|
66
|
+
- name: Build distribution
|
|
67
|
+
if: steps.release.outputs.released == 'true'
|
|
68
|
+
run: python -m build
|
|
69
|
+
|
|
70
|
+
- name: Publish to PyPI
|
|
71
|
+
if: steps.release.outputs.released == 'true'
|
|
72
|
+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: run-codeql
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.1.1
|
|
4
4
|
Summary: Run CodeQL code-quality analysis locally, mirroring the GitHub 'Code Quality' check
|
|
5
5
|
Project-URL: Homepage, https://github.com/dereknorrbom/run-codeql
|
|
6
6
|
Project-URL: Repository, https://github.com/dereknorrbom/run-codeql
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "run-codeql"
|
|
7
|
-
version = "1.
|
|
7
|
+
version = "1.1.1"
|
|
8
8
|
description = "Run CodeQL code-quality analysis locally, mirroring the GitHub 'Code Quality' check"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = { file = "LICENSE" }
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
name: Release
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches: [main]
|
|
6
|
-
|
|
7
|
-
permissions:
|
|
8
|
-
contents: write
|
|
9
|
-
id-token: write # required for PyPI trusted publishing
|
|
10
|
-
|
|
11
|
-
jobs:
|
|
12
|
-
release:
|
|
13
|
-
name: Semantic Release
|
|
14
|
-
runs-on: ubuntu-latest
|
|
15
|
-
concurrency: release
|
|
16
|
-
steps:
|
|
17
|
-
- uses: actions/checkout@v4
|
|
18
|
-
with:
|
|
19
|
-
fetch-depth: 0
|
|
20
|
-
token: ${{ secrets.GITHUB_TOKEN }}
|
|
21
|
-
|
|
22
|
-
- uses: actions/setup-python@v5
|
|
23
|
-
with:
|
|
24
|
-
python-version: "3.12"
|
|
25
|
-
|
|
26
|
-
- run: pip install python-semantic-release build twine
|
|
27
|
-
|
|
28
|
-
- name: Semantic Release
|
|
29
|
-
id: release
|
|
30
|
-
env:
|
|
31
|
-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
32
|
-
run: semantic-release version --push
|
|
33
|
-
|
|
34
|
-
- name: Build distribution
|
|
35
|
-
if: steps.release.outputs.released == 'true'
|
|
36
|
-
run: python -m build
|
|
37
|
-
|
|
38
|
-
- name: Publish to PyPI
|
|
39
|
-
if: steps.release.outputs.released == 'true'
|
|
40
|
-
uses: pypa/gh-action-pypi-publish@release/v1
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|