Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 85 additions & 0 deletions .github/actions/load-ci-tool-versions/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

name: Load CI Tool Versions
description: Load shared CI tool versions from .github/ci-tool-versions.env

outputs:
go_version:
description: Go version
value: ${{ steps.load.outputs.go_version }}
default_python_version:
description: Default Python version
value: ${{ steps.load.outputs.default_python_version }}
rust_version:
description: Rust toolchain version
value: ${{ steps.load.outputs.rust_version }}
node_version:
description: Node.js version
value: ${{ steps.load.outputs.node_version }}
uv_version:
description: uv version
value: ${{ steps.load.outputs.uv_version }}
just_version:
description: just version
value: ${{ steps.load.outputs.just_version }}
wasm_pack_version:
description: wasm-pack version
value: ${{ steps.load.outputs.wasm_pack_version }}
cargo_llvm_cov_version:
description: cargo-llvm-cov version
value: ${{ steps.load.outputs.cargo_llvm_cov_version }}
cargo_nextest_version:
description: cargo-nextest version
value: ${{ steps.load.outputs.cargo_nextest_version }}
cargo_deny_version:
description: cargo-deny version
value: ${{ steps.load.outputs.cargo_deny_version }}
cargo_about_version:
description: cargo-about version
value: ${{ steps.load.outputs.cargo_about_version }}

runs:
using: composite
steps:
- name: Load versions
id: load
shell: bash
run: |
set -euo pipefail
source "${GITHUB_ACTION_PATH}/../../ci-tool-versions.env"

required=(
NEMO_FLOW_CI_GO_VERSION
NEMO_FLOW_CI_DEFAULT_PYTHON_VER
NEMO_FLOW_CI_RUST_VERSION
NEMO_FLOW_CI_NODE_VERSION
NEMO_FLOW_CI_UV_VERSION
NEMO_FLOW_CI_JUST_VERSION
NEMO_FLOW_CI_WASM_PACK_VERSION
NEMO_FLOW_CI_CARGO_LLVM_COV_VERSION
NEMO_FLOW_CI_CARGO_NEXTEST_VERSION
NEMO_FLOW_CI_CARGO_DENY_VERSION
NEMO_FLOW_CI_CARGO_ABOUT_VERSION
)

for name in "${required[@]}"; do
if [[ -z "${!name:-}" ]]; then
echo "Error: ${name} is missing from .github/ci-tool-versions.env" >&2
exit 1
fi
done

{
printf 'go_version=%s\n' "$NEMO_FLOW_CI_GO_VERSION"
printf 'default_python_version=%s\n' "$NEMO_FLOW_CI_DEFAULT_PYTHON_VER"
printf 'rust_version=%s\n' "$NEMO_FLOW_CI_RUST_VERSION"
printf 'node_version=%s\n' "$NEMO_FLOW_CI_NODE_VERSION"
printf 'uv_version=%s\n' "$NEMO_FLOW_CI_UV_VERSION"
printf 'just_version=%s\n' "$NEMO_FLOW_CI_JUST_VERSION"
printf 'wasm_pack_version=%s\n' "$NEMO_FLOW_CI_WASM_PACK_VERSION"
printf 'cargo_llvm_cov_version=%s\n' "$NEMO_FLOW_CI_CARGO_LLVM_COV_VERSION"
printf 'cargo_nextest_version=%s\n' "$NEMO_FLOW_CI_CARGO_NEXTEST_VERSION"
printf 'cargo_deny_version=%s\n' "$NEMO_FLOW_CI_CARGO_DENY_VERSION"
printf 'cargo_about_version=%s\n' "$NEMO_FLOW_CI_CARGO_ABOUT_VERSION"
} >> "$GITHUB_OUTPUT"
14 changes: 14 additions & 0 deletions .github/ci-tool-versions.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

NEMO_FLOW_CI_GO_VERSION=1.26.1
NEMO_FLOW_CI_DEFAULT_PYTHON_VER=3.11
NEMO_FLOW_CI_RUST_VERSION=1.93.0
NEMO_FLOW_CI_NODE_VERSION=24
NEMO_FLOW_CI_UV_VERSION=0.9.28
NEMO_FLOW_CI_JUST_VERSION=1.47.1
NEMO_FLOW_CI_WASM_PACK_VERSION=0.14.0
NEMO_FLOW_CI_CARGO_LLVM_COV_VERSION=0.8.5
NEMO_FLOW_CI_CARGO_NEXTEST_VERSION=0.9.133
NEMO_FLOW_CI_CARGO_DENY_VERSION=0.19.1
NEMO_FLOW_CI_CARGO_ABOUT_VERSION=0.8.4
Loading