dockerfile-analyzer 0.4.3__tar.gz → 0.4.4__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.
- {dockerfile_analyzer-0.4.3 → dockerfile_analyzer-0.4.4}/.github/workflows/CI.yml +18 -8
- {dockerfile_analyzer-0.4.3 → dockerfile_analyzer-0.4.4}/Cargo.lock +1 -1
- {dockerfile_analyzer-0.4.3 → dockerfile_analyzer-0.4.4}/Cargo.toml +1 -1
- {dockerfile_analyzer-0.4.3 → dockerfile_analyzer-0.4.4}/PKG-INFO +1 -1
- {dockerfile_analyzer-0.4.3 → dockerfile_analyzer-0.4.4}/.cargo/config.toml +0 -0
- {dockerfile_analyzer-0.4.3 → dockerfile_analyzer-0.4.4}/.github/dependabot.yml +0 -0
- {dockerfile_analyzer-0.4.3 → dockerfile_analyzer-0.4.4}/.gitignore +0 -0
- {dockerfile_analyzer-0.4.3 → dockerfile_analyzer-0.4.4}/LICENSE +0 -0
- {dockerfile_analyzer-0.4.3 → dockerfile_analyzer-0.4.4}/README.md +0 -0
- {dockerfile_analyzer-0.4.3 → dockerfile_analyzer-0.4.4}/dockerfile_analyzer.pyi +0 -0
- {dockerfile_analyzer-0.4.3 → dockerfile_analyzer-0.4.4}/example.py +0 -0
- {dockerfile_analyzer-0.4.3 → dockerfile_analyzer-0.4.4}/py.typed +0 -0
- {dockerfile_analyzer-0.4.3 → dockerfile_analyzer-0.4.4}/pyproject.toml +0 -0
- {dockerfile_analyzer-0.4.3 → dockerfile_analyzer-0.4.4}/requirements-dev.txt +0 -0
- {dockerfile_analyzer-0.4.3 → dockerfile_analyzer-0.4.4}/src/analyzer.rs +0 -0
- {dockerfile_analyzer-0.4.3 → dockerfile_analyzer-0.4.4}/src/constants.rs +0 -0
- {dockerfile_analyzer-0.4.3 → dockerfile_analyzer-0.4.4}/src/lib.rs +0 -0
- {dockerfile_analyzer-0.4.3 → dockerfile_analyzer-0.4.4}/src/models.rs +0 -0
- {dockerfile_analyzer-0.4.3 → dockerfile_analyzer-0.4.4}/src/parse_utils.rs +0 -0
- {dockerfile_analyzer-0.4.3 → dockerfile_analyzer-0.4.4}/tests/fixtures/multistage.Dockerfile +0 -0
- {dockerfile_analyzer-0.4.3 → dockerfile_analyzer-0.4.4}/tests/test_analyze_dockerfile.py +0 -0
- {dockerfile_analyzer-0.4.3 → dockerfile_analyzer-0.4.4}/tests/test_stages.py +0 -0
|
@@ -25,7 +25,8 @@ jobs:
|
|
|
25
25
|
runs-on: ubuntu-latest
|
|
26
26
|
steps:
|
|
27
27
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
28
|
-
-
|
|
28
|
+
- id: setup-python
|
|
29
|
+
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
|
29
30
|
with:
|
|
30
31
|
# Keep in sync with requires-python in pyproject.toml (PyO3 needs a
|
|
31
32
|
# matching libpython for clippy on --all-targets).
|
|
@@ -36,6 +37,10 @@ jobs:
|
|
|
36
37
|
toolchain: stable
|
|
37
38
|
components: rustfmt, clippy
|
|
38
39
|
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
|
|
40
|
+
with:
|
|
41
|
+
# pyo3-build-config caches the interpreter path; a runner Python patch
|
|
42
|
+
# bump (e.g. 3.14.8 -> 3.14.9) otherwise leaves a stale -L path.
|
|
43
|
+
key: python-${{ steps.setup-python.outputs.python-version }}
|
|
39
44
|
- name: Check formatting
|
|
40
45
|
run: cargo fmt --all -- --check
|
|
41
46
|
- name: Clippy
|
|
@@ -49,7 +54,8 @@ jobs:
|
|
|
49
54
|
runs-on: ubuntu-latest
|
|
50
55
|
steps:
|
|
51
56
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
52
|
-
-
|
|
57
|
+
- id: setup-python
|
|
58
|
+
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
|
53
59
|
with:
|
|
54
60
|
# Keep in sync with requires-python in pyproject.toml (PyO3 needs a
|
|
55
61
|
# matching libpython for linking the test binary).
|
|
@@ -59,6 +65,10 @@ jobs:
|
|
|
59
65
|
# A commit pin does not get the branch-name default of stable.
|
|
60
66
|
toolchain: stable
|
|
61
67
|
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
|
|
68
|
+
with:
|
|
69
|
+
# pyo3-build-config caches the interpreter path; a runner Python patch
|
|
70
|
+
# bump (e.g. 3.14.8 -> 3.14.9) otherwise leaves a stale -L path.
|
|
71
|
+
key: python-${{ steps.setup-python.outputs.python-version }}
|
|
62
72
|
- name: Run tests
|
|
63
73
|
run: cargo test
|
|
64
74
|
env:
|
|
@@ -70,7 +80,7 @@ jobs:
|
|
|
70
80
|
runs-on: ubuntu-latest
|
|
71
81
|
steps:
|
|
72
82
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
73
|
-
- uses: actions/setup-python@
|
|
83
|
+
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
|
74
84
|
with:
|
|
75
85
|
# Keep in sync with requires-python in pyproject.toml.
|
|
76
86
|
python-version: "3.14"
|
|
@@ -114,7 +124,7 @@ jobs:
|
|
|
114
124
|
target: ppc64le
|
|
115
125
|
steps:
|
|
116
126
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
117
|
-
- uses: actions/setup-python@
|
|
127
|
+
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
|
118
128
|
with:
|
|
119
129
|
python-version: 3.x
|
|
120
130
|
- name: Build wheels
|
|
@@ -147,7 +157,7 @@ jobs:
|
|
|
147
157
|
target: armv7
|
|
148
158
|
steps:
|
|
149
159
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
150
|
-
- uses: actions/setup-python@
|
|
160
|
+
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
|
151
161
|
with:
|
|
152
162
|
python-version: 3.x
|
|
153
163
|
- name: Build wheels
|
|
@@ -176,7 +186,7 @@ jobs:
|
|
|
176
186
|
target: x86
|
|
177
187
|
steps:
|
|
178
188
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
179
|
-
- uses: actions/setup-python@
|
|
189
|
+
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
|
180
190
|
with:
|
|
181
191
|
python-version: 3.x
|
|
182
192
|
architecture: ${{ matrix.platform.target }}
|
|
@@ -205,7 +215,7 @@ jobs:
|
|
|
205
215
|
target: aarch64
|
|
206
216
|
steps:
|
|
207
217
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
208
|
-
- uses: actions/setup-python@
|
|
218
|
+
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
|
209
219
|
with:
|
|
210
220
|
python-version: 3.x
|
|
211
221
|
- name: Build wheels
|
|
@@ -259,7 +269,7 @@ jobs:
|
|
|
259
269
|
subject-path: "wheels-*/*"
|
|
260
270
|
- name: Install uv
|
|
261
271
|
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
|
262
|
-
uses: astral-sh/setup-uv@
|
|
272
|
+
uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
|
|
263
273
|
- name: Publish to PyPI
|
|
264
274
|
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
|
265
275
|
run: uv publish --trusted-publishing always 'wheels-*/*'
|
|
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
|
{dockerfile_analyzer-0.4.3 → dockerfile_analyzer-0.4.4}/tests/fixtures/multistage.Dockerfile
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|