code-foundry 0.27.4 → 0.27.6
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.
- package/.github/actions/setup/action.yml +7 -0
- package/CHANGELOG.md +15 -0
- package/package.json +1 -1
- package/src/runtime.mjs +5 -2
|
@@ -751,6 +751,13 @@ runs:
|
|
|
751
751
|
with:
|
|
752
752
|
cache: true
|
|
753
753
|
install_args: ${{ steps.profile.outputs.mise_tools }}
|
|
754
|
+
- name: Setup Rust components
|
|
755
|
+
if: >-
|
|
756
|
+
steps.profile.outputs.rust == 'true' &&
|
|
757
|
+
(steps.profile.outputs.mise_required == 'true' ||
|
|
758
|
+
steps.profile.outputs.toolchain_mode != 'mise')
|
|
759
|
+
shell: bash
|
|
760
|
+
run: rustup component add rustfmt clippy
|
|
754
761
|
- name: Use offline Cargo cache
|
|
755
762
|
if: inputs.install == 'true' && inputs.install-rust == 'true' && steps.rust-packages.outputs.cache-hit == 'true' && hashFiles('**/Cargo.lock') != ''
|
|
756
763
|
shell: bash
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.27.6](https://github.com/0xPlayerOne/code-foundry/compare/v0.27.5...v0.27.6) (2026-07-28)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **ci:** force complete Bun workspace installs ([1d391b8](https://github.com/0xPlayerOne/code-foundry/commit/1d391b8e481acd91d7ae293cdbbfc090a891dc47))
|
|
9
|
+
|
|
10
|
+
## [0.27.5](https://github.com/0xPlayerOne/code-foundry/compare/v0.27.4...v0.27.5) (2026-07-28)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **ci:** install Rust formatting and lint components ([16da3fc](https://github.com/0xPlayerOne/code-foundry/commit/16da3fc416e64b2c5c62d2f3a7feaa270134c1a2))
|
|
16
|
+
* **test:** skip absent Python integration suites ([ee932ce](https://github.com/0xPlayerOne/code-foundry/commit/ee932cea048dc94175f395ac49ca65ed9dbb466f))
|
|
17
|
+
|
|
3
18
|
## [0.27.4](https://github.com/0xPlayerOne/code-foundry/compare/v0.27.3...v0.27.4) (2026-07-28)
|
|
4
19
|
|
|
5
20
|
|
package/package.json
CHANGED
package/src/runtime.mjs
CHANGED
|
@@ -100,7 +100,7 @@ function install() {
|
|
|
100
100
|
if (lock) {
|
|
101
101
|
/** @type {Record<string, [string, string[]]>} */
|
|
102
102
|
const commands = {
|
|
103
|
-
bun: ['bun', ['install', '--frozen-lockfile']],
|
|
103
|
+
bun: ['bun', ['install', '--frozen-lockfile', ...(readPackage()?.workspaces ? ['--force'] : [])]],
|
|
104
104
|
pnpm: ['pnpm', ['install', '--frozen-lockfile', '--prefer-offline']],
|
|
105
105
|
yarn: ['yarn', ['install', '--immutable']],
|
|
106
106
|
npm: ['npm', ['ci', '--prefer-offline', '--no-audit', '--fund=false']],
|
|
@@ -194,7 +194,10 @@ function ci(task) {
|
|
|
194
194
|
if (hasLanguage('rust')) run('cargo', ['test'])
|
|
195
195
|
if (hasLanguage('python')) {
|
|
196
196
|
const python = existsSync(resolve(root, '.venv/bin/python')) ? resolve(root, '.venv/bin/python') : 'python'
|
|
197
|
-
|
|
197
|
+
const integrationTests = resolve(root, 'tests/integration')
|
|
198
|
+
if (task !== 'integration' || existsSync(integrationTests)) {
|
|
199
|
+
run(python, ['-m', 'pytest', ...(task === 'integration' ? ['tests/integration'] : [])])
|
|
200
|
+
}
|
|
198
201
|
}
|
|
199
202
|
}
|
|
200
203
|
|