Skip to content

Commit d417606

Browse files
authored
CI: move name-collision job into build.yml (#750)
1 parent e87516b commit d417606

3 files changed

Lines changed: 27 additions & 27 deletions

File tree

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ phpstan-baseline-*.neon export-ignore
1515
phpunit.xml export-ignore
1616
stubs/runtime/Enum/UnitEnum.php export-ignore
1717
stubs/runtime/Enum/BackedEnum.php export-ignore
18-
/collision-detector.json export-ignore
18+
collision-detector.json export-ignore

.github/workflows/build.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,3 +278,29 @@ jobs:
278278

279279
- name: "PHPStan"
280280
run: "make phpstan"
281+
282+
name-collision:
283+
name: "Name Collision Detector"
284+
285+
runs-on: "ubuntu-latest"
286+
timeout-minutes: 60
287+
288+
steps:
289+
- name: Harden the runner (Audit all outbound calls)
290+
uses: step-security/harden-runner@5ef0c079ce82195b2a36a210272d6b661572d83e # v2.14.2
291+
with:
292+
egress-policy: audit
293+
294+
- name: "Checkout"
295+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
296+
297+
- name: "Install PHP"
298+
uses: "shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1" # v2
299+
with:
300+
coverage: "none"
301+
php-version: "8.5"
302+
303+
- uses: "ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520" # v3
304+
305+
- name: "Name Collision Detector"
306+
run: "make name-collision"

.github/workflows/lint-workflows.yml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -111,29 +111,3 @@ jobs:
111111
sarif_file: results.sarif
112112
category: zizmor
113113
wait-for-processing: false
114-
115-
name-collision:
116-
name: "Name Collision Detector"
117-
118-
runs-on: "ubuntu-latest"
119-
timeout-minutes: 60
120-
121-
steps:
122-
- name: Harden the runner (Audit all outbound calls)
123-
uses: step-security/harden-runner@5ef0c079ce82195b2a36a210272d6b661572d83e # v2.14.2
124-
with:
125-
egress-policy: audit
126-
127-
- name: "Checkout"
128-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
129-
130-
- name: "Install PHP"
131-
uses: "shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1" # v2
132-
with:
133-
coverage: "none"
134-
php-version: "8.5"
135-
136-
- uses: "ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520" # v3
137-
138-
- name: "Name Collision Detector"
139-
run: "make name-collision"

0 commit comments

Comments
 (0)