From 0921e0456763444a51d1056c9b58fb4b44538fd1 Mon Sep 17 00:00:00 2001 From: kartikey1306 Date: Wed, 7 Oct 2026 14:28:57 +0530 Subject: [PATCH 1/2] =?UTF-8?q?ci(eosim):=20install=20EoSim=20through=20th?= =?UTF-8?q?e=20shared=20install-eosim=20action=20in=20the=20Linux=20sim=20?= =?UTF-8?q?jobs=20=E2=80=94=20Closes=20#48?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit eos-simulation and nested-guest-install now use embeddedos-org/.github/.github/actions/install-eosim@master with version: ${{ env.EOSIM_VERSION }}, so the tag is validated against the remote and fails closed instead of 404ing. The cross-OS install matrix and the Windows/macOS jobs keep the direct clone for now: the action's resolve step calls python3, which setup-python does not guarantee on Windows. Refs embeddedos-org/ebuild#128. --- .github/workflows/eosim-sanity.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/eosim-sanity.yml b/.github/workflows/eosim-sanity.yml index 510db6b..d42004f 100644 --- a/.github/workflows/eosim-sanity.yml +++ b/.github/workflows/eosim-sanity.yml @@ -75,10 +75,10 @@ jobs: - uses: actions/setup-python@v5 with: python-version: "3.12" - - name: Install EoSim from source - run: | - git clone --depth 1 --branch v${{ env.EOSIM_VERSION }} https://github.com/embeddedos-org/EoSim.git /tmp/EoSim - pip install -e /tmp/EoSim + - name: Install EoSim + uses: embeddedos-org/.github/.github/actions/install-eosim@master + with: + version: ${{ env.EOSIM_VERSION }} - name: Validate ${{ matrix.platform }} run: eosim list - name: Test ${{ matrix.platform }} @@ -109,10 +109,10 @@ jobs: - uses: actions/setup-python@v5 with: python-version: "3.12" - - name: Install EoSim from source - run: | - git clone --depth 1 --branch v${{ env.EOSIM_VERSION }} https://github.com/embeddedos-org/EoSim.git /tmp/EoSim - pip install -e /tmp/EoSim + - name: Install EoSim + uses: embeddedos-org/.github/.github/actions/install-eosim@master + with: + version: ${{ env.EOSIM_VERSION }} - name: Boot guest and test EoSim inside run: | echo "=== Nested Guest: ${{ matrix.guest }} ===" From d17808cbc6c670b6ed4f9fb003fafff848f428ed Mon Sep 17 00:00:00 2001 From: kartikey1306 Date: Thu, 8 Oct 2026 00:14:03 +0530 Subject: [PATCH 2/2] =?UTF-8?q?ci(eosim):=20install=20EoSim=20through=20in?= =?UTF-8?q?stall-eosim=20in=20every=20job,=20not=20only=20Linux=20?= =?UTF-8?q?=E2=80=94=20refs=20#48?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Windows, macOS and cross-OS matrix jobs were left on the direct clone on the assumption that setup-python does not provide python3 on Windows. That assumption was wrong: on windows-latest setup-python puts python3 on PATH, and the action resolves, installs and verifies v3.0.2 on ubuntu-latest, macos-latest and windows-latest (probe run Kartikey1306/.github actions run 37668634240). Per the org standard (.github docs/install-eosim-standard.md), every remaining inline clone-and-install in .github/workflows now uses the action; workflows that pin a literal v3.0.2 pass version "3.0.2". --- .github/workflows/eosim-sanity.yml | 20 ++++++++++++-------- .github/workflows/simulation-test.yml | 8 ++++---- .github/workflows/weekly.yml | 8 ++++---- 3 files changed, 20 insertions(+), 16 deletions(-) diff --git a/.github/workflows/eosim-sanity.yml b/.github/workflows/eosim-sanity.yml index d42004f..862be96 100644 --- a/.github/workflows/eosim-sanity.yml +++ b/.github/workflows/eosim-sanity.yml @@ -30,10 +30,10 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - name: Install EoSim from source - run: | - git clone --depth 1 --branch v${{ env.EOSIM_VERSION }} https://github.com/embeddedos-org/EoSim.git /tmp/EoSim - pip install -e /tmp/EoSim + - name: Install EoSim + uses: embeddedos-org/.github/.github/actions/install-eosim@master + with: + version: ${{ env.EOSIM_VERSION }} - name: Verify installation run: | eosim --version @@ -130,10 +130,12 @@ jobs: - uses: actions/setup-python@v5 with: python-version: "3.12" + - name: Install EoSim + uses: embeddedos-org/.github/.github/actions/install-eosim@master + with: + version: ${{ env.EOSIM_VERSION }} - name: Test EoSim on Windows run: | - git clone --depth 1 --branch v${{ env.EOSIM_VERSION }} https://github.com/embeddedos-org/EoSim.git ${{ runner.temp }}/EoSim - pip install ${{ runner.temp }}/EoSim eosim --version eosim doctor eosim list && eosim doctor @@ -149,10 +151,12 @@ jobs: - uses: actions/setup-python@v5 with: python-version: "3.12" + - name: Install EoSim + uses: embeddedos-org/.github/.github/actions/install-eosim@master + with: + version: ${{ env.EOSIM_VERSION }} - name: Test EoSim on macOS run: | - git clone --depth 1 --branch v${{ env.EOSIM_VERSION }} https://github.com/embeddedos-org/EoSim.git ${{ runner.temp }}/EoSim - pip install ${{ runner.temp }}/EoSim eosim --version eosim doctor eosim list && eosim doctor diff --git a/.github/workflows/simulation-test.yml b/.github/workflows/simulation-test.yml index 280b881..6f1a999 100644 --- a/.github/workflows/simulation-test.yml +++ b/.github/workflows/simulation-test.yml @@ -83,10 +83,10 @@ jobs: - uses: actions/setup-python@v5 with: python-version: "3.12" - - name: Install EoSim from source - run: | - git clone --depth 1 --branch v${{ env.EOSIM_VERSION }} https://github.com/embeddedos-org/EoSim.git /tmp/EoSim - pip install -e /tmp/EoSim + - name: Install EoSim + uses: embeddedos-org/.github/.github/actions/install-eosim@master + with: + version: ${{ env.EOSIM_VERSION }} - name: Doctor check run: eosim doctor - name: Validate all platforms diff --git a/.github/workflows/weekly.yml b/.github/workflows/weekly.yml index 529867b..c0546c9 100644 --- a/.github/workflows/weekly.yml +++ b/.github/workflows/weekly.yml @@ -159,10 +159,10 @@ jobs: - uses: actions/setup-python@v5 with: python-version: "3.12" - - name: Install EoSim from source - run: | - git clone --depth 1 --branch v${{ env.EOSIM_VERSION }} https://github.com/embeddedos-org/EoSim.git /tmp/EoSim - pip install -e /tmp/EoSim + - name: Install EoSim + uses: embeddedos-org/.github/.github/actions/install-eosim@master + with: + version: ${{ env.EOSIM_VERSION }} - name: Validate run: eosim list - name: Test