Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0d12e0e

Browse files
committed
Update GitHub Action to v0.23.22
1 parent 975014e commit 0d12e0e

3 files changed

Lines changed: 8 additions & 10 deletions

File tree

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ inputs:
3030
version:
3131
description: "Version of the fastcli binary to use. If 'local', the binary will be used from the path of /tmp/fastci/tools/fastcli-{ARCH}}"
3232
required: false
33-
default: "v0.23.17"
33+
default: "v0.23.22"
3434

3535
full_repo_name:
3636
description: "Full repository name"
@@ -75,6 +75,6 @@ inputs:
7575
default: ""
7676

7777
runs:
78-
using: "node20"
78+
using: "node24"
7979
main: "dist/index.js"
8080
post: "dist/cleanup/index.js"

dist/cleanup/index.js

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -131068,7 +131068,6 @@ function generateIssueMarker(insightIssueId) {
131068131068
const BEST_PRACTICES_LINKS = {
131069131069
docker: {
131070131070
'missing-dockerignore': 'https://docs.docker.com/build/building/best-practices/#exclude-with-dockerignore',
131071-
'unpinned-base-image': 'https://docs.docker.com/build/building/best-practices/#pin-base-image-versions',
131072131071
'apt-get-caching': 'https://docs.docker.com/build/building/best-practices/#apt-get',
131073131072
'default': 'https://docs.docker.com/build/building/best-practices/',
131074131073
},
@@ -131248,11 +131247,6 @@ const INSIGHT_DESCRIPTIONS = {
131248131247
const file = i.contextAttributes['path_to_dockerfile'] || 'Dockerfile';
131249131248
return `Your Docker build at \`${file}\` sends all files to the daemon. A \`.dockerignore\` reduces context size, speeds up builds, and prevents sensitive files from leaking into images.`;
131250131249
},
131251-
'unpinned-base-image': (i) => {
131252-
const file = i.contextAttributes['path_to_dockerfile'] || 'Dockerfile';
131253-
const images = i.contextAttributes['unpinned_images'] || 'unspecified';
131254-
return `Your Dockerfile at \`${file}\` uses unpinned base images (\`${images}\`). Pin versions for reproducible, secure builds.`;
131255-
},
131256131250
'large-build-context': (i) => {
131257131251
const size = i.contextAttributes['context_size'] || 'unknown size';
131258131252
return `Your Docker build context is ${size}, slowing down the context transfer step. Review which files are included or add a \`.dockerignore\`.`;
@@ -131636,6 +131630,7 @@ const OPTIMIZATION_TYPE = {
131636131630
cargo_build_optimization: "observability",
131637131631
integration_test_optimization: "acceleration",
131638131632
go_test_cache_optimization: "acceleration",
131633+
cache_observability_optimization: "observability"
131639131634
};
131640131635
// docker is dual-purpose: observability (tracing) + acceleration (cache).
131641131636
// When the technology is excluded, only is_cache_opt_enabled is turned off.
@@ -132683,9 +132678,10 @@ function isTraceArtifactEnabled() {
132683132678
}
132684132679
const raw = JSON.parse(external_fs_.readFileSync(configPath, "utf-8"));
132685132680
const storeAsArtifacts = raw?.config?.repository_config?.traces?.store_as_artifacts;
132686-
if (storeAsArtifacts) {
132687-
return true;
132681+
if (storeAsArtifacts === false) {
132682+
return false;
132688132683
}
132684+
return true;
132689132685
}
132690132686
catch (error) {
132691132687
lib_core.debug(`Could not read config for trace artifact settings: ${error}`);

dist/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127955,6 +127955,7 @@ const OPTIMIZATION_TYPE = {
127955127955
cargo_build_optimization: "observability",
127956127956
integration_test_optimization: "acceleration",
127957127957
go_test_cache_optimization: "acceleration",
127958+
cache_observability_optimization: "observability"
127958127959
};
127959127960
// docker is dual-purpose: observability (tracing) + acceleration (cache).
127960127961
// When the technology is excluded, only is_cache_opt_enabled is turned off.
@@ -128572,6 +128573,7 @@ const TECHNOLOGY_TO_OPTIMIZATIONS = {
128572128573
python: ["python_package_manager_optimization", "uv_package_manager_tracing"],
128573128574
npm: ["npm_package_manager_optimization"],
128574128575
cargo: ["cargo_build_optimization"],
128576+
ghactions: ["cache_observability_optimization"],
128575128577
};
128576128578
const SUPPORTED_TECHNOLOGIES = Object.keys(TECHNOLOGY_TO_OPTIMIZATIONS);
128577128579
/**

0 commit comments

Comments
 (0)