From 43307af4785b6b75af2ccbb396bb24e4ed85b374 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 13 Apr 2026 10:07:32 +0000 Subject: [PATCH 1/3] Bump upload-artifact to v7 and @actions/core to ^3.0.0 Agent-Logs-Url: https://github.com/qt-creator/install-dev-package/sessions/be8d95f8-340e-4615-ba38-22068d73338f Co-authored-by: Maddimax <1878499+Maddimax@users.noreply.github.com> --- .github/workflows/check-dist.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 5f089f5..3499ecf 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -66,7 +66,7 @@ jobs: - if: ${{ failure() && steps.diff.outcome == 'failure' }} name: Upload Artifact id: upload - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: dist path: dist/ diff --git a/package.json b/package.json index 11fec83..6a28040 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ ] }, "dependencies": { - "@actions/core": "^2.0.3", + "@actions/core": "^3.0.0", "axios": "^1.15.0", "libarchive-wasm": "github:Maddimax/libarchive-wasm" }, From 1a1442b6f63a4ff160c7a47b62c665f969aeb5f9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 13 Apr 2026 10:08:34 +0000 Subject: [PATCH 2/3] Record progress before Jest compatibility fix Agent-Logs-Url: https://github.com/qt-creator/install-dev-package/sessions/be8d95f8-340e-4615-ba38-22068d73338f Co-authored-by: Maddimax <1878499+Maddimax@users.noreply.github.com> --- package-lock.json | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/package-lock.json b/package-lock.json index 131f6f7..d071375 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.0", "license": "MIT", "dependencies": { - "@actions/core": "^2.0.3", + "@actions/core": "^3.0.0", "axios": "^1.15.0", "libarchive-wasm": "github:Maddimax/libarchive-wasm" }, @@ -41,28 +41,28 @@ } }, "node_modules/@actions/core": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@actions/core/-/core-2.0.3.tgz", - "integrity": "sha512-Od9Thc3T1mQJYddvVPM4QGiLUewdh+3txmDYHHxoNdkqysR1MbCT+rFOtNUxYAz+7+6RIsqipVahY2GJqGPyxA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-3.0.0.tgz", + "integrity": "sha512-zYt6cz+ivnTmiT/ksRVriMBOiuoUpDCJJlZ5KPl2/FRdvwU3f7MPh9qftvbkXJThragzUZieit2nyHUyw53Seg==", "license": "MIT", "dependencies": { - "@actions/exec": "^2.0.0", - "@actions/http-client": "^3.0.2" + "@actions/exec": "^3.0.0", + "@actions/http-client": "^4.0.0" } }, "node_modules/@actions/exec": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-2.0.0.tgz", - "integrity": "sha512-k8ngrX2voJ/RIN6r9xB82NVqKpnMRtxDoiO+g3olkIUpQNqjArXrCQceduQZCQj3P3xm32pChRLqRrtXTlqhIw==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-3.0.0.tgz", + "integrity": "sha512-6xH/puSoNBXb72VPlZVm7vQ+svQpFyA96qdDBvhB8eNZOE8LtPf9L4oAsfzK/crCL8YZ+19fKYVnM63Sl+Xzlw==", "license": "MIT", "dependencies": { - "@actions/io": "^2.0.0" + "@actions/io": "^3.0.2" } }, "node_modules/@actions/http-client": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-3.0.2.tgz", - "integrity": "sha512-JP38FYYpyqvUsz+Igqlc/JG6YO9PaKuvqjM3iGvaLqFnJ7TFmcLyy2IDrY0bI0qCQug8E9K+elv5ZNfw62ZJzA==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-4.0.0.tgz", + "integrity": "sha512-QuwPsgVMsD6qaPD57GLZi9sqzAZCtiJT8kVBCDpLtxhL5MydQ4gS+DrejtZZPdIYyB1e95uCK9Luyds7ybHI3g==", "license": "MIT", "dependencies": { "tunnel": "^0.0.6", @@ -70,9 +70,9 @@ } }, "node_modules/@actions/io": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@actions/io/-/io-2.0.0.tgz", - "integrity": "sha512-Jv33IN09XLO+0HS79aaODsvIRyduiF7NY/F6LYeK5oeUmrsz7aFdRphQjFoESF4jS7lMauDOttKALcpapVDIAg==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@actions/io/-/io-3.0.2.tgz", + "integrity": "sha512-nRBchcMM+QK1pdjO7/idu86rbJI5YHUKCvKs0KxnSYbVe3F51UfGxuZX4Qy/fWlp6l7gWFwIkrOzN+oUK03kfw==", "license": "MIT" }, "node_modules/@babel/code-frame": { From a15a7e826416b82cd596bd9b9bf2bb6cc48d8761 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 13 Apr 2026 10:09:19 +0000 Subject: [PATCH 3/3] Fix Jest resolution for @actions/core v3 Agent-Logs-Url: https://github.com/qt-creator/install-dev-package/sessions/be8d95f8-340e-4615-ba38-22068d73338f Co-authored-by: Maddimax <1878499+Maddimax@users.noreply.github.com> --- __tests__/mocks/actions-core.ts | 25 +++++++++++++++++++++++++ package.json | 3 +++ 2 files changed, 28 insertions(+) create mode 100644 __tests__/mocks/actions-core.ts diff --git a/__tests__/mocks/actions-core.ts b/__tests__/mocks/actions-core.ts new file mode 100644 index 0000000..60950e6 --- /dev/null +++ b/__tests__/mocks/actions-core.ts @@ -0,0 +1,25 @@ +export function info(message: string): void { + void message +} + +export function warning(message: string): void { + void message +} + +export function error(message: string): void { + void message +} + +export function getInput(name: string): string { + void name + return '' +} + +export function setOutput(name: string, value: unknown): void { + void name + void value +} + +export function setFailed(message: string): void { + void message +} diff --git a/package.json b/package.json index 6a28040..f1c0ef6 100644 --- a/package.json +++ b/package.json @@ -56,6 +56,9 @@ "transform": { "^.+\\.ts$": "ts-jest" }, + "moduleNameMapper": { + "^@actions/core$": "/__tests__/mocks/actions-core.ts" + }, "coverageReporters": [ "json-summary", "text",