From a30e22fb8b75048cf85eb35170cf39ae14fbcee0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Wed, 21 Jan 2026 14:04:30 +0100 Subject: [PATCH 01/61] fix proxy RA --- .github/workflows/ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e5f43821..23d789ce 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -143,6 +143,26 @@ jobs: ./criticalup remove ./criticalup clean + - name: Change Ferrocene version to beta (Test RA on Ferrocene beta step1) + working-directory: crab-boil + run: + cat <<- EOF > criticalup.toml + manifest-version = 1 + + [products.ferrocene] + release = "beta" + packages = [ + "cargo-\${rustc-host}", + "rustc-\${rustc-host}", + "rust-std-\${rustc-host}", + ] + EOF + + - name: Check RA version (Test RA on Ferrocene beta step2) + working-directory: crab-boil + run: + ./criticalup install && criticalup which rust-analyzer + package: secrets: inherit uses: ./.github/workflows/package.yml From a18d403e6f5364c7185b0b6245d75e6341bdc543 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Wed, 21 Jan 2026 14:12:16 +0100 Subject: [PATCH 02/61] latest beta --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 23d789ce..30a5f942 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -150,7 +150,7 @@ jobs: manifest-version = 1 [products.ferrocene] - release = "beta" + release = "beta-26.02-2026-01-17" packages = [ "cargo-\${rustc-host}", "rustc-\${rustc-host}", From 461841f35b8811e472bf729d8f7dfc718f290ce7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Wed, 21 Jan 2026 14:20:27 +0100 Subject: [PATCH 03/61] RA --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30a5f942..d61018c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -155,6 +155,7 @@ jobs: "cargo-\${rustc-host}", "rustc-\${rustc-host}", "rust-std-\${rustc-host}", + "rust-analyzer-\${rustc-host}" ] EOF From 4d06769e0337bd2cd1332720b583b20bd6d6195b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Wed, 21 Jan 2026 15:45:52 +0100 Subject: [PATCH 04/61] clippy warning --- crates/criticalup-cli/tests/cli/binary_proxies.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/criticalup-cli/tests/cli/binary_proxies.rs b/crates/criticalup-cli/tests/cli/binary_proxies.rs index 214f658a..e2550e21 100644 --- a/crates/criticalup-cli/tests/cli/binary_proxies.rs +++ b/crates/criticalup-cli/tests/cli/binary_proxies.rs @@ -3,7 +3,6 @@ use crate::assert_output; use crate::utils::TestEnvironment; -use std::env; use std::io::Write; use std::path::{Path, PathBuf}; use std::process::{Command, Stdio}; From b0ea142b9e2c42b8c9b65e4af8d3ab7ee6291643 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Wed, 21 Jan 2026 16:20:11 +0100 Subject: [PATCH 05/61] enter dir? --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d61018c1..0680b751 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -145,7 +145,8 @@ jobs: - name: Change Ferrocene version to beta (Test RA on Ferrocene beta step1) working-directory: crab-boil - run: + run: + cd crab-boil cat <<- EOF > criticalup.toml manifest-version = 1 From 7904aec1a29f607b88b53091e2021bfb9cc1c05f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Thu, 22 Jan 2026 10:58:36 +0100 Subject: [PATCH 06/61] wip --- .github/workflows/ci.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0680b751..fcb82a8c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -146,19 +146,19 @@ jobs: - name: Change Ferrocene version to beta (Test RA on Ferrocene beta step1) working-directory: crab-boil run: - cd crab-boil - cat <<- EOF > criticalup.toml - manifest-version = 1 - - [products.ferrocene] - release = "beta-26.02-2026-01-17" - packages = [ - "cargo-\${rustc-host}", - "rustc-\${rustc-host}", - "rust-std-\${rustc-host}", - "rust-analyzer-\${rustc-host}" - ] - EOF + cat criticalup.toml + # cat <<- EOF > criticalup.toml + # manifest-version = 1 + + # [products.ferrocene] + # release = "beta-26.02-2026-01-17" + # packages = [ + # "cargo-\${rustc-host}", + # "rustc-\${rustc-host}", + # "rust-std-\${rustc-host}", + # "rust-analyzer-\${rustc-host}" + # ] + # EOF - name: Check RA version (Test RA on Ferrocene beta step2) working-directory: crab-boil From a8557e56e6af0249183e139e70d2cfd034952384 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Thu, 22 Jan 2026 11:08:08 +0100 Subject: [PATCH 07/61] wip: heredocs do not coexist with bash --- .github/workflows/ci.yml | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fcb82a8c..899fe52f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -145,20 +145,21 @@ jobs: - name: Change Ferrocene version to beta (Test RA on Ferrocene beta step1) working-directory: crab-boil + shell: bash # warning about heredocs earlier run: - cat criticalup.toml - # cat <<- EOF > criticalup.toml - # manifest-version = 1 - - # [products.ferrocene] - # release = "beta-26.02-2026-01-17" - # packages = [ - # "cargo-\${rustc-host}", - # "rustc-\${rustc-host}", - # "rust-std-\${rustc-host}", - # "rust-analyzer-\${rustc-host}" - # ] - # EOF + # cat criticalup.toml + cat <<- EOF > criticalup.toml + manifest-version = 1 + + [products.ferrocene] + release = "beta-26.02-2026-01-17" + packages = [ + "cargo-\${rustc-host}", + "rustc-\${rustc-host}", + "rust-std-\${rustc-host}", + "rust-analyzer-\${rustc-host}" + ] + EOF - name: Check RA version (Test RA on Ferrocene beta step2) working-directory: crab-boil From 8699a86623ae9fd6a65e1cc75b8c5dd2abac963d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Thu, 22 Jan 2026 11:10:06 +0100 Subject: [PATCH 08/61] wip: typo --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 899fe52f..23e7423a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -147,7 +147,6 @@ jobs: working-directory: crab-boil shell: bash # warning about heredocs earlier run: - # cat criticalup.toml cat <<- EOF > criticalup.toml manifest-version = 1 @@ -164,7 +163,7 @@ jobs: - name: Check RA version (Test RA on Ferrocene beta step2) working-directory: crab-boil run: - ./criticalup install && criticalup which rust-analyzer + ./criticalup install && ./criticalup which rust-analyzer package: secrets: inherit From c4f0d3efa7d6e5a29ca3b8fad3c303e19d1d36f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Thu, 22 Jan 2026 11:26:33 +0100 Subject: [PATCH 09/61] wip: multiline --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 23e7423a..007a9df5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -146,7 +146,7 @@ jobs: - name: Change Ferrocene version to beta (Test RA on Ferrocene beta step1) working-directory: crab-boil shell: bash # warning about heredocs earlier - run: + run: | cat <<- EOF > criticalup.toml manifest-version = 1 From e1a124eb9447480c72874e1cdddf2485e063d446 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Thu, 22 Jan 2026 11:51:27 +0100 Subject: [PATCH 10/61] simplify --- .github/workflows/ci.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 007a9df5..677813bc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -143,9 +143,9 @@ jobs: ./criticalup remove ./criticalup clean - - name: Change Ferrocene version to beta (Test RA on Ferrocene beta step1) + - name: Change toolchain to test RA installation working-directory: crab-boil - shell: bash # warning about heredocs earlier + shell: bash # bash necessary for heredocs run: | cat <<- EOF > criticalup.toml manifest-version = 1 @@ -159,12 +159,8 @@ jobs: "rust-analyzer-\${rustc-host}" ] EOF - - - name: Check RA version (Test RA on Ferrocene beta step2) - working-directory: crab-boil - run: ./criticalup install && ./criticalup which rust-analyzer - + package: secrets: inherit uses: ./.github/workflows/package.yml From 825e5f4f8d5ab9b696aa59dcbabd3eaa6ccfebe7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Thu, 22 Jan 2026 11:57:12 +0100 Subject: [PATCH 11/61] probably do not need all packages --- .github/workflows/ci.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 677813bc..89fce5c2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -153,9 +153,6 @@ jobs: [products.ferrocene] release = "beta-26.02-2026-01-17" packages = [ - "cargo-\${rustc-host}", - "rustc-\${rustc-host}", - "rust-std-\${rustc-host}", "rust-analyzer-\${rustc-host}" ] EOF From 7f027ee1983fb858a37af642ae40762d153e5a52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Thu, 22 Jan 2026 11:58:13 +0100 Subject: [PATCH 12/61] wip: testing for red test --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 89fce5c2..74fee36f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -116,6 +116,7 @@ jobs: ./criticalup run -- cargo build ./criticalup run -- cargo run ./criticalup which rustc + ./criticalup which rust-analyzer # Windows allows the `.exe` or not, at the users option. - name: Run Windows exclusive commands From f615a4f1b0e8e9145578f9c62166e5ba4c8c3319 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Thu, 22 Jan 2026 12:22:29 +0100 Subject: [PATCH 13/61] wip --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 74fee36f..f3311d90 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -71,6 +71,7 @@ jobs: "cargo-\${rustc-host}", "rustc-\${rustc-host}", "rust-std-\${rustc-host}", + "rust-analyzer-\${rustc-host}", ] EOF From bc0db2cbb6793fe4658ffa700c2a2f85777b57c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Fri, 23 Jan 2026 15:29:43 +0100 Subject: [PATCH 14/61] red test --- .github/workflows/ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3311d90..9eb02fff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -71,7 +71,6 @@ jobs: "cargo-\${rustc-host}", "rustc-\${rustc-host}", "rust-std-\${rustc-host}", - "rust-analyzer-\${rustc-host}", ] EOF @@ -117,7 +116,6 @@ jobs: ./criticalup run -- cargo build ./criticalup run -- cargo run ./criticalup which rustc - ./criticalup which rust-analyzer # Windows allows the `.exe` or not, at the users option. - name: Run Windows exclusive commands @@ -158,7 +156,7 @@ jobs: "rust-analyzer-\${rustc-host}" ] EOF - ./criticalup install && ./criticalup which rust-analyzer + ./criticalup install && rust-analyzer --version package: secrets: inherit From 75f06d4bd4d9667de87543738b26c23aeb284850 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Tue, 27 Jan 2026 10:08:58 +0100 Subject: [PATCH 15/61] adding beta which merged https://github.com/ferrocene/ferrocene/pull/2107 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9eb02fff..19651434 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -151,7 +151,7 @@ jobs: manifest-version = 1 [products.ferrocene] - release = "beta-26.02-2026-01-17" + release = "beta-26.02-2026-01-27" packages = [ "rust-analyzer-\${rustc-host}" ] From 5d19e31632c4a5876168cede7ed5ed74198bebfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Tue, 27 Jan 2026 10:27:32 +0100 Subject: [PATCH 16/61] adding other base packages --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 19651434..78dfbddc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -153,6 +153,9 @@ jobs: [products.ferrocene] release = "beta-26.02-2026-01-27" packages = [ + "cargo-\${rustc-host}", + "rustc-\${rustc-host}", + "rust-std-\${rustc-host}", "rust-analyzer-\${rustc-host}" ] EOF From 246d8fddc0b13cd59f5a21eead3c99ebdfbd3d49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Tue, 27 Jan 2026 10:44:02 +0100 Subject: [PATCH 17/61] checking availability rust-analyzer --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 78dfbddc..cde093e1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -159,7 +159,10 @@ jobs: "rust-analyzer-\${rustc-host}" ] EOF - ./criticalup install && rust-analyzer --version + ./criticalup install + criticalup which rust-analyzer + which rust-analyzer + rust-analyzer --version package: secrets: inherit From f06fcb64d3ff754f2bd8d35013f56901ce315f09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Thu, 29 Jan 2026 09:02:41 +0100 Subject: [PATCH 18/61] test with nightly that merged https://github.com/ferrocene/ferrocene/commit/5acb85bc0d79f0fc6804a0c070e14c48cf88925a --- .github/workflows/ci.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cde093e1..843ae0ab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -151,11 +151,8 @@ jobs: manifest-version = 1 [products.ferrocene] - release = "beta-26.02-2026-01-27" + release = "nightly-2026-01-29" packages = [ - "cargo-\${rustc-host}", - "rustc-\${rustc-host}", - "rust-std-\${rustc-host}", "rust-analyzer-\${rustc-host}" ] EOF From 5678dd97b076247ba2172fe48b1573ece5ff3278 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Thu, 29 Jan 2026 09:16:18 +0100 Subject: [PATCH 19/61] well that was awkward --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 843ae0ab..211b5520 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -157,7 +157,7 @@ jobs: ] EOF ./criticalup install - criticalup which rust-analyzer + ./criticalup which rust-analyzer which rust-analyzer rust-analyzer --version From 2ac1385f48ee51ebdec0eb1325ac7de205419308 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Thu, 29 Jan 2026 09:35:11 +0100 Subject: [PATCH 20/61] maybe it needs other packages? --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 211b5520..ec92b58e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -153,6 +153,9 @@ jobs: [products.ferrocene] release = "nightly-2026-01-29" packages = [ + "cargo-\${rustc-host}", + "rustc-\${rustc-host}", + "rust-std-\${rustc-host}", "rust-analyzer-\${rustc-host}" ] EOF From c7bf6b228e8b3fc03d75ab92d1345649c346163a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Fri, 30 Jan 2026 12:12:52 +0100 Subject: [PATCH 21/61] linking to use RA directly --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec92b58e..7a19fb72 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -161,6 +161,7 @@ jobs: EOF ./criticalup install ./criticalup which rust-analyzer + ./criticalup link create # linking rust-analyzer which rust-analyzer rust-analyzer --version From 80eba59ce7bf04d4108db7059282731e243d732a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Fri, 30 Jan 2026 13:26:37 +0100 Subject: [PATCH 22/61] fresh dir --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7a19fb72..e551623e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -143,10 +143,11 @@ jobs: ./criticalup remove ./criticalup clean - - name: Change toolchain to test RA installation - working-directory: crab-boil + - name: Change toolchain and dir to test RA installation shell: bash # bash necessary for heredocs run: | + mkdir poor-ferris # a new dir without previous installation is necessary + cd poor-ferris cat <<- EOF > criticalup.toml manifest-version = 1 From b01f786bfed2a6da321724f6bab542dde6915d94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Fri, 30 Jan 2026 14:17:10 +0100 Subject: [PATCH 23/61] test --- .github/workflows/ci.yml | 43 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e551623e..c14710dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -143,10 +143,11 @@ jobs: ./criticalup remove ./criticalup clean + - name: Change toolchain and dir to test RA installation shell: bash # bash necessary for heredocs run: | - mkdir poor-ferris # a new dir without previous installation is necessary + mkdir poor-ferris cd poor-ferris cat <<- EOF > criticalup.toml manifest-version = 1 @@ -160,6 +161,46 @@ jobs: "rust-analyzer-\${rustc-host}" ] EOF + - name: Download artifacts + uses: actions/download-artifact@v4 + with: + name: criticalup-${{ matrix.target }}.${{ runner.os == 'Windows' && 'zip' || 'tar.xz' }} + path: poor-ferris + + - name: Unpack archive + if: ${{ runner.os == 'Windows' }} + working-directory: poor-ferris + run: | + powershell -c "Expand-Archive criticalup-${{ matrix.target }}.zip" + mv criticalup-${{ matrix.target }}/criticalup.exe criticalup.exe + + - name: Unpack archive and make executable + if: ${{ runner.os != 'Windows' }} + working-directory: poor-ferris + run: | + tar xvf criticalup-${{ matrix.target }}.tar.xz + mv criticalup-${{ matrix.target }}/criticalup criticalup + chmod +x ./criticalup + + - name: Auth Criticalup + working-directory: poor-ferris + run: ./criticalup auth set $CRITICALUP_TOKEN + + - name: Install toolchain + working-directory: poor-ferris + run: | + ./criticalup install + + - name: Create toolchain link + working-directory: poor-ferris + run: | + ./criticalup link create + + + - name: Test RA installation + shell: bash # bash necessary for heredocs + working-directory: poor-ferris + run: | ./criticalup install ./criticalup which rust-analyzer ./criticalup link create # linking rust-analyzer From 34f1b1cbcb128a6a661d9a848448fd95a8f811a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Fri, 30 Jan 2026 14:55:24 +0100 Subject: [PATCH 24/61] maybe the old install is tripping CI --- .github/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c14710dd..eb7cb06c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -143,7 +143,6 @@ jobs: ./criticalup remove ./criticalup clean - - name: Change toolchain and dir to test RA installation shell: bash # bash necessary for heredocs run: | @@ -201,7 +200,6 @@ jobs: shell: bash # bash necessary for heredocs working-directory: poor-ferris run: | - ./criticalup install ./criticalup which rust-analyzer ./criticalup link create # linking rust-analyzer which rust-analyzer From 43334e71f8e4284629629c1786fe6914a99df619 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Fri, 30 Jan 2026 15:09:21 +0100 Subject: [PATCH 25/61] test, passing anas workflow to actions --- .github/actions/criticalup-config/action.yml | 58 ++++++++++++++++ .github/workflows/ci.yml | 73 +++++++++++--------- 2 files changed, 99 insertions(+), 32 deletions(-) create mode 100644 .github/actions/criticalup-config/action.yml diff --git a/.github/actions/criticalup-config/action.yml b/.github/actions/criticalup-config/action.yml new file mode 100644 index 00000000..c2db56a9 --- /dev/null +++ b/.github/actions/criticalup-config/action.yml @@ -0,0 +1,58 @@ +# SPDX-FileCopyrightText: The Ferrocene Developers +# SPDX-License-Identifier: MIT OR Apache-2.0 + +--- + +name: "Install criticalup" +description: "Configure repo for criticalup use" +inputs: + token: + description: The CriticalUp token to use (use a GHA Secret) + required: true + path: + description: The installation path + required: true + matrix: + description: Platforms to run on + required: true + runner: + description: OS to run + required: true + +runs: + using: composite + steps: + - name: Download artifacts + uses: actions/download-artifact@v4 + with: + name: criticalup-${{ matrix.target }}.${{ runner.os == 'Windows' && 'zip' || 'tar.xz' }} + path: ${{ path }} + + - name: Unpack archive + if: ${{ runner.os == 'Windows' }} + working-directory: ${{ path }} + run: | + powershell -c "Expand-Archive criticalup-${{ matrix.target }}.zip" + mv criticalup-${{ matrix.target }}/criticalup.exe criticalup.exe + + - name: Unpack archive and make executable + if: ${{ runner.os != 'Windows' }} + working-directory: ${{ path }} + run: | + tar xvf criticalup-${{ matrix.target }}.tar.xz + mv criticalup-${{ matrix.target }}/criticalup criticalup + chmod +x ./criticalup + + - name: Auth Criticalup + working-directory: poor-ferris + run: ./criticalup auth set $CRITICALUP_TOKEN + + - name: Install toolchain + working-directory: ${{ path }} + run: | + ./criticalup install + + - name: Create toolchain link + working-directory: ${{ path }} + run: | + ./criticalup link create diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eb7cb06c..48745202 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,40 +74,49 @@ jobs: ] EOF - - uses: actions/download-artifact@v4 + - name: Configure directory + uses: ./.github/actions/criticalup-config with: - name: criticalup-${{ matrix.target }}.${{ runner.os == 'Windows' && 'zip' || 'tar.xz' }} + token: ${{ secrets.CRITICALUP_TOKEN }} path: crab-boil - - - name: Unpack archive - if: ${{ runner.os == 'Windows' }} - working-directory: crab-boil - run: | - powershell -c "Expand-Archive criticalup-${{ matrix.target }}.zip" - mv criticalup-${{ matrix.target }}/criticalup.exe criticalup.exe - - - name: Unpack archive and make executable - if: ${{ runner.os != 'Windows' }} - working-directory: crab-boil - run: | - tar xvf criticalup-${{ matrix.target }}.tar.xz - mv criticalup-${{ matrix.target }}/criticalup criticalup - chmod +x ./criticalup - - - name: Auth Criticalup - working-directory: crab-boil - run: ./criticalup auth set $CRITICALUP_TOKEN - - - - name: Install toolchain - working-directory: crab-boil - run: | - ./criticalup install - - - name: Create toolchain link - working-directory: crab-boil - run: | - ./criticalup link create + matrix: ${{ matrix }} + runner: ${{ runner }} + + + # - uses: actions/download-artifact@v4 + # with: + # name: criticalup-${{ matrix.target }}.${{ runner.os == 'Windows' && 'zip' || 'tar.xz' }} + # path: crab-boil + + # - name: Unpack archive + # if: ${{ runner.os == 'Windows' }} + # working-directory: crab-boil + # run: | + # powershell -c "Expand-Archive criticalup-${{ matrix.target }}.zip" + # mv criticalup-${{ matrix.target }}/criticalup.exe criticalup.exe + + # - name: Unpack archive and make executable + # if: ${{ runner.os != 'Windows' }} + # working-directory: crab-boil + # run: | + # tar xvf criticalup-${{ matrix.target }}.tar.xz + # mv criticalup-${{ matrix.target }}/criticalup criticalup + # chmod +x ./criticalup + + # - name: Auth Criticalup + # working-directory: crab-boil + # run: ./criticalup auth set $CRITICALUP_TOKEN + + + # - name: Install toolchain + # working-directory: crab-boil + # run: | + # ./criticalup install + + # - name: Create toolchain link + # working-directory: crab-boil + # run: | + # ./criticalup link create - name: Run `criticalup run` test workflow working-directory: crab-boil From c2778fcfc5ae7a8361bf2ddc79b2d85c9e55a014 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Fri, 30 Jan 2026 15:22:33 +0100 Subject: [PATCH 26/61] define shell --- .github/actions/criticalup-config/action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/actions/criticalup-config/action.yml b/.github/actions/criticalup-config/action.yml index c2db56a9..7875917f 100644 --- a/.github/actions/criticalup-config/action.yml +++ b/.github/actions/criticalup-config/action.yml @@ -29,6 +29,7 @@ runs: path: ${{ path }} - name: Unpack archive + shell: bash if: ${{ runner.os == 'Windows' }} working-directory: ${{ path }} run: | @@ -36,6 +37,7 @@ runs: mv criticalup-${{ matrix.target }}/criticalup.exe criticalup.exe - name: Unpack archive and make executable + shell: bash if: ${{ runner.os != 'Windows' }} working-directory: ${{ path }} run: | @@ -44,15 +46,18 @@ runs: chmod +x ./criticalup - name: Auth Criticalup + shell: bash working-directory: poor-ferris run: ./criticalup auth set $CRITICALUP_TOKEN - name: Install toolchain + shell: bash working-directory: ${{ path }} run: | ./criticalup install - name: Create toolchain link + shell: bash working-directory: ${{ path }} run: | ./criticalup link create From 0be878803a278004b26c5184b94a11e7d46cf551 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Fri, 30 Jan 2026 15:48:37 +0100 Subject: [PATCH 27/61] passing matrix as object --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 48745202..a3b414a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,8 +79,8 @@ jobs: with: token: ${{ secrets.CRITICALUP_TOKEN }} path: crab-boil - matrix: ${{ matrix }} - runner: ${{ runner }} + matrix: ${{ toJSON(matrix) }} + runner: ${{ toJSON(runner) }} # - uses: actions/download-artifact@v4 From 175fede63de24ee06588647804e04916ef4a252e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Fri, 30 Jan 2026 16:21:22 +0100 Subject: [PATCH 28/61] moving more things to actions --- .github/actions/criticalup-config/action.yml | 39 ++++++ .github/workflows/ci.yml | 138 ++++++++++--------- 2 files changed, 112 insertions(+), 65 deletions(-) diff --git a/.github/actions/criticalup-config/action.yml b/.github/actions/criticalup-config/action.yml index 7875917f..3cd3aeb0 100644 --- a/.github/actions/criticalup-config/action.yml +++ b/.github/actions/criticalup-config/action.yml @@ -61,3 +61,42 @@ runs: working-directory: ${{ path }} run: | ./criticalup link create + + - name: Run `criticalup run` test workflow + shell: bash + working-directory: ${{ path }} + run: | + ./criticalup run -- cargo init + ./criticalup run -- cargo build + ./criticalup run -- cargo run + ./criticalup which rustc + + # Windows allows the `.exe` or not, at the users option. + - name: Run Windows exclusive commands + shell: bash + if: ${{ runner.os == 'Windows' }} + working-directory: ${{ path }} + run: | + ./criticalup.exe run -- cargo --version + ./criticalup run -- cargo.exe --version + ./criticalup.exe run -- cargo.exe --version + + - name: Run `cargo +ferrocene` test workflow + shell: bash + working-directory: ${{ path }} + run: | + cargo +ferrocene build + cargo +ferrocene run + + - name: Remove toolchain link + shell: bash + working-directory: ${{ path }} + run: | + ./criticalup link remove + + - name: Run test cleanup workflow + shell: bash + working-directory: ${{ path }} + run: | + ./criticalup remove + ./criticalup clean diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a3b414a1..cde0c541 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -118,39 +118,39 @@ jobs: # run: | # ./criticalup link create - - name: Run `criticalup run` test workflow - working-directory: crab-boil - run: | - ./criticalup run -- cargo init - ./criticalup run -- cargo build - ./criticalup run -- cargo run - ./criticalup which rustc - - # Windows allows the `.exe` or not, at the users option. - - name: Run Windows exclusive commands - if: ${{ runner.os == 'Windows' }} - working-directory: crab-boil - run: | - ./criticalup.exe run -- cargo --version - ./criticalup run -- cargo.exe --version - ./criticalup.exe run -- cargo.exe --version + # - name: Run `criticalup run` test workflow + # working-directory: crab-boil + # run: | + # ./criticalup run -- cargo init + # ./criticalup run -- cargo build + # ./criticalup run -- cargo run + # ./criticalup which rustc - - name: Run `cargo +ferrocene` test workflow - working-directory: crab-boil - run: | - cargo +ferrocene build - cargo +ferrocene run + # # Windows allows the `.exe` or not, at the users option. + # - name: Run Windows exclusive commands + # if: ${{ runner.os == 'Windows' }} + # working-directory: crab-boil + # run: | + # ./criticalup.exe run -- cargo --version + # ./criticalup run -- cargo.exe --version + # ./criticalup.exe run -- cargo.exe --version - - name: Remove toolchain link - working-directory: crab-boil - run: | - ./criticalup link remove + # - name: Run `cargo +ferrocene` test workflow + # working-directory: crab-boil + # run: | + # cargo +ferrocene build + # cargo +ferrocene run - - name: Run test cleanup workflow - working-directory: crab-boil - run: | - ./criticalup remove - ./criticalup clean + # - name: Remove toolchain link + # working-directory: crab-boil + # run: | + # ./criticalup link remove + + # - name: Run test cleanup workflow + # working-directory: crab-boil + # run: | + # ./criticalup remove + # ./criticalup clean - name: Change toolchain and dir to test RA installation shell: bash # bash necessary for heredocs @@ -169,50 +169,58 @@ jobs: "rust-analyzer-\${rustc-host}" ] EOF - - name: Download artifacts - uses: actions/download-artifact@v4 + - name: Configure directory + uses: ./.github/actions/criticalup-config with: - name: criticalup-${{ matrix.target }}.${{ runner.os == 'Windows' && 'zip' || 'tar.xz' }} + token: ${{ secrets.CRITICALUP_TOKEN }} path: poor-ferris + matrix: ${{ toJSON(matrix) }} + runner: ${{ toJSON(runner) }} - - name: Unpack archive - if: ${{ runner.os == 'Windows' }} - working-directory: poor-ferris - run: | - powershell -c "Expand-Archive criticalup-${{ matrix.target }}.zip" - mv criticalup-${{ matrix.target }}/criticalup.exe criticalup.exe + # - name: Download artifacts + # uses: actions/download-artifact@v4 + # with: + # name: criticalup-${{ matrix.target }}.${{ runner.os == 'Windows' && 'zip' || 'tar.xz' }} + # path: poor-ferris - - name: Unpack archive and make executable - if: ${{ runner.os != 'Windows' }} - working-directory: poor-ferris - run: | - tar xvf criticalup-${{ matrix.target }}.tar.xz - mv criticalup-${{ matrix.target }}/criticalup criticalup - chmod +x ./criticalup + # - name: Unpack archive + # if: ${{ runner.os == 'Windows' }} + # working-directory: poor-ferris + # run: | + # powershell -c "Expand-Archive criticalup-${{ matrix.target }}.zip" + # mv criticalup-${{ matrix.target }}/criticalup.exe criticalup.exe - - name: Auth Criticalup - working-directory: poor-ferris - run: ./criticalup auth set $CRITICALUP_TOKEN + # - name: Unpack archive and make executable + # if: ${{ runner.os != 'Windows' }} + # working-directory: poor-ferris + # run: | + # tar xvf criticalup-${{ matrix.target }}.tar.xz + # mv criticalup-${{ matrix.target }}/criticalup criticalup + # chmod +x ./criticalup - - name: Install toolchain - working-directory: poor-ferris - run: | - ./criticalup install + # - name: Auth Criticalup + # working-directory: poor-ferris + # run: ./criticalup auth set $CRITICALUP_TOKEN - - name: Create toolchain link - working-directory: poor-ferris - run: | - ./criticalup link create + # - name: Install toolchain + # working-directory: poor-ferris + # run: | + # ./criticalup install + + # - name: Create toolchain link + # working-directory: poor-ferris + # run: | + # ./criticalup link create - - name: Test RA installation - shell: bash # bash necessary for heredocs - working-directory: poor-ferris - run: | - ./criticalup which rust-analyzer - ./criticalup link create # linking rust-analyzer - which rust-analyzer - rust-analyzer --version + # - name: Test RA installation + # shell: bash # bash necessary for heredocs + # working-directory: poor-ferris + # run: | + # ./criticalup which rust-analyzer + # ./criticalup link create # linking rust-analyzer + # which rust-analyzer + # rust-analyzer --version package: secrets: inherit From 410d5c0df0620f5b414dc058ea203d0ea3a34f70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Fri, 30 Jan 2026 16:39:53 +0100 Subject: [PATCH 29/61] restauring the spaghetti --- .github/workflows/ci.yml | 242 +++++++++++++++++++-------------------- 1 file changed, 121 insertions(+), 121 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cde0c541..8e4065b8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,83 +74,83 @@ jobs: ] EOF - - name: Configure directory - uses: ./.github/actions/criticalup-config + # - name: Configure directory + # uses: ./.github/actions/criticalup-config + # with: + # token: ${{ secrets.CRITICALUP_TOKEN }} + # path: crab-boil + # matrix: ${{ toJSON(matrix) }} + # runner: ${{ toJSON(runner) }} + + + - uses: actions/download-artifact@v4 with: - token: ${{ secrets.CRITICALUP_TOKEN }} + name: criticalup-${{ matrix.target }}.${{ runner.os == 'Windows' && 'zip' || 'tar.xz' }} path: crab-boil - matrix: ${{ toJSON(matrix) }} - runner: ${{ toJSON(runner) }} - - # - uses: actions/download-artifact@v4 - # with: - # name: criticalup-${{ matrix.target }}.${{ runner.os == 'Windows' && 'zip' || 'tar.xz' }} - # path: crab-boil + - name: Unpack archive + if: ${{ runner.os == 'Windows' }} + working-directory: crab-boil + run: | + powershell -c "Expand-Archive criticalup-${{ matrix.target }}.zip" + mv criticalup-${{ matrix.target }}/criticalup.exe criticalup.exe + + - name: Unpack archive and make executable + if: ${{ runner.os != 'Windows' }} + working-directory: crab-boil + run: | + tar xvf criticalup-${{ matrix.target }}.tar.xz + mv criticalup-${{ matrix.target }}/criticalup criticalup + chmod +x ./criticalup + + - name: Auth Criticalup + working-directory: crab-boil + run: ./criticalup auth set $CRITICALUP_TOKEN + + + - name: Install toolchain + working-directory: crab-boil + run: | + ./criticalup install + + - name: Create toolchain link + working-directory: crab-boil + run: | + ./criticalup link create + + - name: Run `criticalup run` test workflow + working-directory: crab-boil + run: | + ./criticalup run -- cargo init + ./criticalup run -- cargo build + ./criticalup run -- cargo run + ./criticalup which rustc + + # Windows allows the `.exe` or not, at the users option. + - name: Run Windows exclusive commands + if: ${{ runner.os == 'Windows' }} + working-directory: crab-boil + run: | + ./criticalup.exe run -- cargo --version + ./criticalup run -- cargo.exe --version + ./criticalup.exe run -- cargo.exe --version + + - name: Run `cargo +ferrocene` test workflow + working-directory: crab-boil + run: | + cargo +ferrocene build + cargo +ferrocene run - # - name: Unpack archive - # if: ${{ runner.os == 'Windows' }} - # working-directory: crab-boil - # run: | - # powershell -c "Expand-Archive criticalup-${{ matrix.target }}.zip" - # mv criticalup-${{ matrix.target }}/criticalup.exe criticalup.exe - - # - name: Unpack archive and make executable - # if: ${{ runner.os != 'Windows' }} - # working-directory: crab-boil - # run: | - # tar xvf criticalup-${{ matrix.target }}.tar.xz - # mv criticalup-${{ matrix.target }}/criticalup criticalup - # chmod +x ./criticalup - - # - name: Auth Criticalup - # working-directory: crab-boil - # run: ./criticalup auth set $CRITICALUP_TOKEN - - - # - name: Install toolchain - # working-directory: crab-boil - # run: | - # ./criticalup install - - # - name: Create toolchain link - # working-directory: crab-boil - # run: | - # ./criticalup link create - - # - name: Run `criticalup run` test workflow - # working-directory: crab-boil - # run: | - # ./criticalup run -- cargo init - # ./criticalup run -- cargo build - # ./criticalup run -- cargo run - # ./criticalup which rustc - - # # Windows allows the `.exe` or not, at the users option. - # - name: Run Windows exclusive commands - # if: ${{ runner.os == 'Windows' }} - # working-directory: crab-boil - # run: | - # ./criticalup.exe run -- cargo --version - # ./criticalup run -- cargo.exe --version - # ./criticalup.exe run -- cargo.exe --version - - # - name: Run `cargo +ferrocene` test workflow - # working-directory: crab-boil - # run: | - # cargo +ferrocene build - # cargo +ferrocene run - - # - name: Remove toolchain link - # working-directory: crab-boil - # run: | - # ./criticalup link remove - - # - name: Run test cleanup workflow - # working-directory: crab-boil - # run: | - # ./criticalup remove - # ./criticalup clean + - name: Remove toolchain link + working-directory: crab-boil + run: | + ./criticalup link remove + + - name: Run test cleanup workflow + working-directory: crab-boil + run: | + ./criticalup remove + ./criticalup clean - name: Change toolchain and dir to test RA installation shell: bash # bash necessary for heredocs @@ -169,58 +169,58 @@ jobs: "rust-analyzer-\${rustc-host}" ] EOF - - name: Configure directory - uses: ./.github/actions/criticalup-config + # - name: Configure directory + # uses: ./.github/actions/criticalup-config + # with: + # token: ${{ secrets.CRITICALUP_TOKEN }} + # path: poor-ferris + # matrix: ${{ toJSON(matrix) }} + # runner: ${{ toJSON(runner) }} + + - name: Download artifacts + uses: actions/download-artifact@v4 with: - token: ${{ secrets.CRITICALUP_TOKEN }} + name: criticalup-${{ matrix.target }}.${{ runner.os == 'Windows' && 'zip' || 'tar.xz' }} path: poor-ferris - matrix: ${{ toJSON(matrix) }} - runner: ${{ toJSON(runner) }} - # - name: Download artifacts - # uses: actions/download-artifact@v4 - # with: - # name: criticalup-${{ matrix.target }}.${{ runner.os == 'Windows' && 'zip' || 'tar.xz' }} - # path: poor-ferris + - name: Unpack archive + if: ${{ runner.os == 'Windows' }} + working-directory: poor-ferris + run: | + powershell -c "Expand-Archive criticalup-${{ matrix.target }}.zip" + mv criticalup-${{ matrix.target }}/criticalup.exe criticalup.exe - # - name: Unpack archive - # if: ${{ runner.os == 'Windows' }} - # working-directory: poor-ferris - # run: | - # powershell -c "Expand-Archive criticalup-${{ matrix.target }}.zip" - # mv criticalup-${{ matrix.target }}/criticalup.exe criticalup.exe - - # - name: Unpack archive and make executable - # if: ${{ runner.os != 'Windows' }} - # working-directory: poor-ferris - # run: | - # tar xvf criticalup-${{ matrix.target }}.tar.xz - # mv criticalup-${{ matrix.target }}/criticalup criticalup - # chmod +x ./criticalup - - # - name: Auth Criticalup - # working-directory: poor-ferris - # run: ./criticalup auth set $CRITICALUP_TOKEN - - # - name: Install toolchain - # working-directory: poor-ferris - # run: | - # ./criticalup install - - # - name: Create toolchain link - # working-directory: poor-ferris - # run: | - # ./criticalup link create - - - # - name: Test RA installation - # shell: bash # bash necessary for heredocs - # working-directory: poor-ferris - # run: | - # ./criticalup which rust-analyzer - # ./criticalup link create # linking rust-analyzer - # which rust-analyzer - # rust-analyzer --version + - name: Unpack archive and make executable + if: ${{ runner.os != 'Windows' }} + working-directory: poor-ferris + run: | + tar xvf criticalup-${{ matrix.target }}.tar.xz + mv criticalup-${{ matrix.target }}/criticalup criticalup + chmod +x ./criticalup + + - name: Auth Criticalup + working-directory: poor-ferris + run: ./criticalup auth set $CRITICALUP_TOKEN + + - name: Install toolchain + working-directory: poor-ferris + run: | + ./criticalup install + + - name: Create toolchain link + working-directory: poor-ferris + run: | + ./criticalup link create + + + - name: Test RA installation + shell: bash # bash necessary for heredocs + working-directory: poor-ferris + run: | + ./criticalup which rust-analyzer + ./criticalup link create # linking rust-analyzer + which rust-analyzer + rust-analyzer --version package: secrets: inherit From d84d3e2f9b332932b87723e02064261e8b373569 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Fri, 30 Jan 2026 16:47:15 +0100 Subject: [PATCH 30/61] removing old ferro installation --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8e4065b8..d285d1aa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -151,6 +151,10 @@ jobs: run: | ./criticalup remove ./criticalup clean + - name: Remove installation of Ferrocene that exists at the root, made by the shared action + run: | + ./criticalup remove + ./criticalup clean - name: Change toolchain and dir to test RA installation shell: bash # bash necessary for heredocs From 537e431504a5443482165481183bb19e1ef08e6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Fri, 30 Jan 2026 17:07:41 +0100 Subject: [PATCH 31/61] apparently it doesn't want an exectutable --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d285d1aa..e5bc6e92 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -153,8 +153,8 @@ jobs: ./criticalup clean - name: Remove installation of Ferrocene that exists at the root, made by the shared action run: | - ./criticalup remove - ./criticalup clean + criticalup remove + criticalup clean - name: Change toolchain and dir to test RA installation shell: bash # bash necessary for heredocs From cf43500c91a6eb6cf63899bfe637ceb9cc5b7c9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Tue, 3 Feb 2026 09:09:37 +0100 Subject: [PATCH 32/61] typo there --- .github/actions/criticalup-config/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/criticalup-config/action.yml b/.github/actions/criticalup-config/action.yml index 3cd3aeb0..f45a87c4 100644 --- a/.github/actions/criticalup-config/action.yml +++ b/.github/actions/criticalup-config/action.yml @@ -47,7 +47,7 @@ runs: - name: Auth Criticalup shell: bash - working-directory: poor-ferris + working-directory: ${{ path }} run: ./criticalup auth set $CRITICALUP_TOKEN - name: Install toolchain From a8f2383bb20634f3ff4340f7da090802f1f7e15e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Tue, 3 Feb 2026 09:10:10 +0100 Subject: [PATCH 33/61] tracking down all versions --- .github/workflows/ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e5bc6e92..c3e1d8d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -112,6 +112,14 @@ jobs: working-directory: crab-boil run: | ./criticalup install + + - name: Find all installed Ferrocene version + shell: bash + run: | + echo $(rustup toolchain list) + if: ${{ runner.os == 'ubuntu-latest' }} + echo $(tree cat ~/.local/share/criticalup/state.json) + echo $(cat ~/.local/share/criticalup/state.json) - name: Create toolchain link working-directory: crab-boil @@ -173,6 +181,16 @@ jobs: "rust-analyzer-\${rustc-host}" ] EOF + + - name: Find all installed Ferrocene version + shell: bash + run: | + echo $(rustup toolchain list) + if: ${{ runner.os == 'ubuntu-latest' }} + echo $(tree cat ~/.local/share/criticalup/state.json) + echo $(cat ~/.local/share/criticalup/state.json) + + # - name: Configure directory # uses: ./.github/actions/criticalup-config # with: From d69139ea81e8deab2195e55133f10ea0583aa2ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Tue, 3 Feb 2026 09:13:11 +0100 Subject: [PATCH 34/61] exec --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c3e1d8d2..47097767 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -161,8 +161,8 @@ jobs: ./criticalup clean - name: Remove installation of Ferrocene that exists at the root, made by the shared action run: | - criticalup remove - criticalup clean + ./criticalup remove + ./criticalup clean - name: Change toolchain and dir to test RA installation shell: bash # bash necessary for heredocs From 55b23353635e626940563b71ddbc9f644ecdc8e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Tue, 3 Feb 2026 09:32:11 +0100 Subject: [PATCH 35/61] so there is no criticalup installed at the root by shared actions --- .github/workflows/ci.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 47097767..e5232e5a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -159,10 +159,6 @@ jobs: run: | ./criticalup remove ./criticalup clean - - name: Remove installation of Ferrocene that exists at the root, made by the shared action - run: | - ./criticalup remove - ./criticalup clean - name: Change toolchain and dir to test RA installation shell: bash # bash necessary for heredocs From 68a7e659ac85008d97cb9258b44a1a49fc3f6bc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Tue, 3 Feb 2026 09:49:40 +0100 Subject: [PATCH 36/61] force reinstalling on clean slate --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e5232e5a..832f7559 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -117,7 +117,7 @@ jobs: shell: bash run: | echo $(rustup toolchain list) - if: ${{ runner.os == 'ubuntu-latest' }} + if: ${{ runner.os == 'ubuntu' }} echo $(tree cat ~/.local/share/criticalup/state.json) echo $(cat ~/.local/share/criticalup/state.json) @@ -182,7 +182,7 @@ jobs: shell: bash run: | echo $(rustup toolchain list) - if: ${{ runner.os == 'ubuntu-latest' }} + if: ${{ runner.os == 'ubuntu' }} echo $(tree cat ~/.local/share/criticalup/state.json) echo $(cat ~/.local/share/criticalup/state.json) From ad8e1c756aadf401dc0cb48d466b8a0ddb7d9d3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Tue, 3 Feb 2026 10:01:20 +0100 Subject: [PATCH 37/61] add toolchain file --- .github/workflows/ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 832f7559..772e8b3a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -177,6 +177,15 @@ jobs: "rust-analyzer-\${rustc-host}" ] EOF + - name: Rust-toolchain file + shell: bash + run: | + cat <<- EOF > rust-toolchain.toml + [toolchain] + channel = "ferrocene" + components = ["cargo", "rustfmt", "clippy", "rust-analyzer"] + profile = "default" + EOF - name: Find all installed Ferrocene version shell: bash @@ -186,7 +195,6 @@ jobs: echo $(tree cat ~/.local/share/criticalup/state.json) echo $(cat ~/.local/share/criticalup/state.json) - # - name: Configure directory # uses: ./.github/actions/criticalup-config # with: From 7ed3165f5b58b46a6253041cef2ceeaa7769d26b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Tue, 3 Feb 2026 10:21:56 +0100 Subject: [PATCH 38/61] port to actions --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 772e8b3a..03d577ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -117,7 +117,7 @@ jobs: shell: bash run: | echo $(rustup toolchain list) - if: ${{ runner.os == 'ubuntu' }} + if: contains(${{ runner.os }}, 'ubuntu') echo $(tree cat ~/.local/share/criticalup/state.json) echo $(cat ~/.local/share/criticalup/state.json) @@ -191,7 +191,7 @@ jobs: shell: bash run: | echo $(rustup toolchain list) - if: ${{ runner.os == 'ubuntu' }} + if: contains(${{ runner.os }}, 'ubuntu') echo $(tree cat ~/.local/share/criticalup/state.json) echo $(cat ~/.local/share/criticalup/state.json) From 0f18971ed6e822a0691998285a7d3d6b91d32fb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Tue, 3 Feb 2026 10:32:45 +0100 Subject: [PATCH 39/61] clean up part 1 --- .github/workflows/ci.yml | 168 +++++++++++++++++++-------------------- 1 file changed, 80 insertions(+), 88 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 03d577ea..d6c206d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,91 +74,91 @@ jobs: ] EOF - # - name: Configure directory - # uses: ./.github/actions/criticalup-config - # with: - # token: ${{ secrets.CRITICALUP_TOKEN }} - # path: crab-boil - # matrix: ${{ toJSON(matrix) }} - # runner: ${{ toJSON(runner) }} - - - - uses: actions/download-artifact@v4 + - name: Configure directory + uses: ./.github/actions/criticalup-config with: - name: criticalup-${{ matrix.target }}.${{ runner.os == 'Windows' && 'zip' || 'tar.xz' }} + token: ${{ secrets.CRITICALUP_TOKEN }} path: crab-boil - - - name: Unpack archive - if: ${{ runner.os == 'Windows' }} - working-directory: crab-boil - run: | - powershell -c "Expand-Archive criticalup-${{ matrix.target }}.zip" - mv criticalup-${{ matrix.target }}/criticalup.exe criticalup.exe - - - name: Unpack archive and make executable - if: ${{ runner.os != 'Windows' }} - working-directory: crab-boil - run: | - tar xvf criticalup-${{ matrix.target }}.tar.xz - mv criticalup-${{ matrix.target }}/criticalup criticalup - chmod +x ./criticalup - - - name: Auth Criticalup - working-directory: crab-boil - run: ./criticalup auth set $CRITICALUP_TOKEN - - - - name: Install toolchain - working-directory: crab-boil - run: | - ./criticalup install + matrix: ${{ toJSON(matrix) }} + runner: ${{ toJSON(runner) }} - - name: Find all installed Ferrocene version - shell: bash - run: | - echo $(rustup toolchain list) - if: contains(${{ runner.os }}, 'ubuntu') - echo $(tree cat ~/.local/share/criticalup/state.json) - echo $(cat ~/.local/share/criticalup/state.json) - - - name: Create toolchain link - working-directory: crab-boil - run: | - ./criticalup link create - - - name: Run `criticalup run` test workflow - working-directory: crab-boil - run: | - ./criticalup run -- cargo init - ./criticalup run -- cargo build - ./criticalup run -- cargo run - ./criticalup which rustc - # Windows allows the `.exe` or not, at the users option. - - name: Run Windows exclusive commands - if: ${{ runner.os == 'Windows' }} - working-directory: crab-boil - run: | - ./criticalup.exe run -- cargo --version - ./criticalup run -- cargo.exe --version - ./criticalup.exe run -- cargo.exe --version - - - name: Run `cargo +ferrocene` test workflow - working-directory: crab-boil - run: | - cargo +ferrocene build - cargo +ferrocene run - - - name: Remove toolchain link - working-directory: crab-boil - run: | - ./criticalup link remove + # - uses: actions/download-artifact@v4 + # with: + # name: criticalup-${{ matrix.target }}.${{ runner.os == 'Windows' && 'zip' || 'tar.xz' }} + # path: crab-boil - - name: Run test cleanup workflow - working-directory: crab-boil - run: | - ./criticalup remove - ./criticalup clean + # - name: Unpack archive + # if: ${{ runner.os == 'Windows' }} + # working-directory: crab-boil + # run: | + # powershell -c "Expand-Archive criticalup-${{ matrix.target }}.zip" + # mv criticalup-${{ matrix.target }}/criticalup.exe criticalup.exe + + # - name: Unpack archive and make executable + # if: ${{ runner.os != 'Windows' }} + # working-directory: crab-boil + # run: | + # tar xvf criticalup-${{ matrix.target }}.tar.xz + # mv criticalup-${{ matrix.target }}/criticalup criticalup + # chmod +x ./criticalup + + # - name: Auth Criticalup + # working-directory: crab-boil + # run: ./criticalup auth set $CRITICALUP_TOKEN + + + # - name: Install toolchain + # working-directory: crab-boil + # run: | + # ./criticalup install + + # - name: Find all installed Ferrocene version + # shell: bash + # run: | + # echo $(rustup toolchain list) + # if: ${{ runner.os == 'ubuntu' }} + # echo $(tree cat ~/.local/share/criticalup/state.json) + # echo $(cat ~/.local/share/criticalup/state.json) + + # - name: Create toolchain link + # working-directory: crab-boil + # run: | + # ./criticalup link create + + # - name: Run `criticalup run` test workflow + # working-directory: crab-boil + # run: | + # ./criticalup run -- cargo init + # ./criticalup run -- cargo build + # ./criticalup run -- cargo run + # ./criticalup which rustc + + # # Windows allows the `.exe` or not, at the users option. + # - name: Run Windows exclusive commands + # if: ${{ runner.os == 'Windows' }} + # working-directory: crab-boil + # run: | + # ./criticalup.exe run -- cargo --version + # ./criticalup run -- cargo.exe --version + # ./criticalup.exe run -- cargo.exe --version + + # - name: Run `cargo +ferrocene` test workflow + # working-directory: crab-boil + # run: | + # cargo +ferrocene build + # cargo +ferrocene run + + # - name: Remove toolchain link + # working-directory: crab-boil + # run: | + # ./criticalup link remove + + # - name: Run test cleanup workflow + # working-directory: crab-boil + # run: | + # ./criticalup remove + # ./criticalup clean - name: Change toolchain and dir to test RA installation shell: bash # bash necessary for heredocs @@ -187,14 +187,6 @@ jobs: profile = "default" EOF - - name: Find all installed Ferrocene version - shell: bash - run: | - echo $(rustup toolchain list) - if: contains(${{ runner.os }}, 'ubuntu') - echo $(tree cat ~/.local/share/criticalup/state.json) - echo $(cat ~/.local/share/criticalup/state.json) - # - name: Configure directory # uses: ./.github/actions/criticalup-config # with: From ed9977f7f5d26328517d9b9c7223fcf75640c7ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Tue, 3 Feb 2026 10:49:11 +0100 Subject: [PATCH 40/61] moving cargo test to main workflow --- .github/actions/criticalup-config/action.yml | 16 ++++++++-------- .github/workflows/ci.yml | 14 +++++++------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/actions/criticalup-config/action.yml b/.github/actions/criticalup-config/action.yml index f45a87c4..197da3b8 100644 --- a/.github/actions/criticalup-config/action.yml +++ b/.github/actions/criticalup-config/action.yml @@ -62,14 +62,14 @@ runs: run: | ./criticalup link create - - name: Run `criticalup run` test workflow - shell: bash - working-directory: ${{ path }} - run: | - ./criticalup run -- cargo init - ./criticalup run -- cargo build - ./criticalup run -- cargo run - ./criticalup which rustc + # - name: Run `criticalup run` test workflow + # shell: bash + # working-directory: ${{ path }} + # run: | + # ./criticalup run -- cargo init + # ./criticalup run -- cargo build + # ./criticalup run -- cargo run + # ./criticalup which rustc # Windows allows the `.exe` or not, at the users option. - name: Run Windows exclusive commands diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d6c206d1..c3f1457a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -126,13 +126,13 @@ jobs: # run: | # ./criticalup link create - # - name: Run `criticalup run` test workflow - # working-directory: crab-boil - # run: | - # ./criticalup run -- cargo init - # ./criticalup run -- cargo build - # ./criticalup run -- cargo run - # ./criticalup which rustc + - name: Run `criticalup run` test workflow + working-directory: crab-boil + run: | + ./criticalup run -- cargo init + ./criticalup run -- cargo build + ./criticalup run -- cargo run + ./criticalup which rustc # # Windows allows the `.exe` or not, at the users option. # - name: Run Windows exclusive commands From f5aa4ca7c97e0144bc34275872124df1467d0912 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Tue, 3 Feb 2026 11:01:38 +0100 Subject: [PATCH 41/61] cargo now wants binary name --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c3f1457a..76899f4e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -131,7 +131,7 @@ jobs: run: | ./criticalup run -- cargo init ./criticalup run -- cargo build - ./criticalup run -- cargo run + ./criticalup run -- cargo run --bin criticalup ./criticalup which rustc # # Windows allows the `.exe` or not, at the users option. From 071e02cdfe31a52b75b2539cd49bc85622b25347 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Tue, 3 Feb 2026 11:22:24 +0100 Subject: [PATCH 42/61] cleanup --- .github/actions/criticalup-config/action.yml | 9 -- .github/workflows/ci.yml | 116 +------------------ 2 files changed, 5 insertions(+), 120 deletions(-) diff --git a/.github/actions/criticalup-config/action.yml b/.github/actions/criticalup-config/action.yml index 197da3b8..672c860a 100644 --- a/.github/actions/criticalup-config/action.yml +++ b/.github/actions/criticalup-config/action.yml @@ -62,15 +62,6 @@ runs: run: | ./criticalup link create - # - name: Run `criticalup run` test workflow - # shell: bash - # working-directory: ${{ path }} - # run: | - # ./criticalup run -- cargo init - # ./criticalup run -- cargo build - # ./criticalup run -- cargo run - # ./criticalup which rustc - # Windows allows the `.exe` or not, at the users option. - name: Run Windows exclusive commands shell: bash diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 76899f4e..d0697b11 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -82,50 +82,6 @@ jobs: matrix: ${{ toJSON(matrix) }} runner: ${{ toJSON(runner) }} - - # - uses: actions/download-artifact@v4 - # with: - # name: criticalup-${{ matrix.target }}.${{ runner.os == 'Windows' && 'zip' || 'tar.xz' }} - # path: crab-boil - - # - name: Unpack archive - # if: ${{ runner.os == 'Windows' }} - # working-directory: crab-boil - # run: | - # powershell -c "Expand-Archive criticalup-${{ matrix.target }}.zip" - # mv criticalup-${{ matrix.target }}/criticalup.exe criticalup.exe - - # - name: Unpack archive and make executable - # if: ${{ runner.os != 'Windows' }} - # working-directory: crab-boil - # run: | - # tar xvf criticalup-${{ matrix.target }}.tar.xz - # mv criticalup-${{ matrix.target }}/criticalup criticalup - # chmod +x ./criticalup - - # - name: Auth Criticalup - # working-directory: crab-boil - # run: ./criticalup auth set $CRITICALUP_TOKEN - - - # - name: Install toolchain - # working-directory: crab-boil - # run: | - # ./criticalup install - - # - name: Find all installed Ferrocene version - # shell: bash - # run: | - # echo $(rustup toolchain list) - # if: ${{ runner.os == 'ubuntu' }} - # echo $(tree cat ~/.local/share/criticalup/state.json) - # echo $(cat ~/.local/share/criticalup/state.json) - - # - name: Create toolchain link - # working-directory: crab-boil - # run: | - # ./criticalup link create - - name: Run `criticalup run` test workflow working-directory: crab-boil run: | @@ -134,32 +90,6 @@ jobs: ./criticalup run -- cargo run --bin criticalup ./criticalup which rustc - # # Windows allows the `.exe` or not, at the users option. - # - name: Run Windows exclusive commands - # if: ${{ runner.os == 'Windows' }} - # working-directory: crab-boil - # run: | - # ./criticalup.exe run -- cargo --version - # ./criticalup run -- cargo.exe --version - # ./criticalup.exe run -- cargo.exe --version - - # - name: Run `cargo +ferrocene` test workflow - # working-directory: crab-boil - # run: | - # cargo +ferrocene build - # cargo +ferrocene run - - # - name: Remove toolchain link - # working-directory: crab-boil - # run: | - # ./criticalup link remove - - # - name: Run test cleanup workflow - # working-directory: crab-boil - # run: | - # ./criticalup remove - # ./criticalup clean - - name: Change toolchain and dir to test RA installation shell: bash # bash necessary for heredocs run: | @@ -187,49 +117,13 @@ jobs: profile = "default" EOF - # - name: Configure directory - # uses: ./.github/actions/criticalup-config - # with: - # token: ${{ secrets.CRITICALUP_TOKEN }} - # path: poor-ferris - # matrix: ${{ toJSON(matrix) }} - # runner: ${{ toJSON(runner) }} - - - name: Download artifacts - uses: actions/download-artifact@v4 + - name: Configure directory + uses: ./.github/actions/criticalup-config with: - name: criticalup-${{ matrix.target }}.${{ runner.os == 'Windows' && 'zip' || 'tar.xz' }} + token: ${{ secrets.CRITICALUP_TOKEN }} path: poor-ferris - - - name: Unpack archive - if: ${{ runner.os == 'Windows' }} - working-directory: poor-ferris - run: | - powershell -c "Expand-Archive criticalup-${{ matrix.target }}.zip" - mv criticalup-${{ matrix.target }}/criticalup.exe criticalup.exe - - - name: Unpack archive and make executable - if: ${{ runner.os != 'Windows' }} - working-directory: poor-ferris - run: | - tar xvf criticalup-${{ matrix.target }}.tar.xz - mv criticalup-${{ matrix.target }}/criticalup criticalup - chmod +x ./criticalup - - - name: Auth Criticalup - working-directory: poor-ferris - run: ./criticalup auth set $CRITICALUP_TOKEN - - - name: Install toolchain - working-directory: poor-ferris - run: | - ./criticalup install - - - name: Create toolchain link - working-directory: poor-ferris - run: | - ./criticalup link create - + matrix: ${{ toJSON(matrix) }} + runner: ${{ toJSON(runner) }} - name: Test RA installation shell: bash # bash necessary for heredocs From 53c7cdb449401be03a438a627125340518d2fd81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Tue, 3 Feb 2026 11:38:41 +0100 Subject: [PATCH 43/61] cargo + ferro also need bin --- .github/actions/criticalup-config/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/criticalup-config/action.yml b/.github/actions/criticalup-config/action.yml index 672c860a..62509621 100644 --- a/.github/actions/criticalup-config/action.yml +++ b/.github/actions/criticalup-config/action.yml @@ -62,7 +62,7 @@ runs: run: | ./criticalup link create - # Windows allows the `.exe` or not, at the users option. + # Windows allows the `.exe` or not at the users option. - name: Run Windows exclusive commands shell: bash if: ${{ runner.os == 'Windows' }} @@ -77,7 +77,7 @@ runs: working-directory: ${{ path }} run: | cargo +ferrocene build - cargo +ferrocene run + cargo +ferrocene run --bin criticalup - name: Remove toolchain link shell: bash From 2aa78204f9f3a96b8c7008384839eddfaf256284 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Tue, 3 Feb 2026 11:53:58 +0100 Subject: [PATCH 44/61] make criticalup do something --- .github/actions/criticalup-config/action.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/actions/criticalup-config/action.yml b/.github/actions/criticalup-config/action.yml index 62509621..6dfc51d8 100644 --- a/.github/actions/criticalup-config/action.yml +++ b/.github/actions/criticalup-config/action.yml @@ -62,6 +62,14 @@ runs: run: | ./criticalup link create + - name: Run `criticalup run` test workflow + working-directory: crab-boil + run: | + ./criticalup run -- cargo init + ./criticalup run -- cargo build + ./criticalup run -- cargo run + ./criticalup which rustc + # Windows allows the `.exe` or not at the users option. - name: Run Windows exclusive commands shell: bash @@ -77,7 +85,7 @@ runs: working-directory: ${{ path }} run: | cargo +ferrocene build - cargo +ferrocene run --bin criticalup + cargo +ferrocene run --bin criticalup --version - name: Remove toolchain link shell: bash From 3eac60ec1f0dc3d5007cfa5995be034e60979cc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Tue, 3 Feb 2026 12:57:40 +0100 Subject: [PATCH 45/61] missing shell --- .github/actions/criticalup-config/action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/criticalup-config/action.yml b/.github/actions/criticalup-config/action.yml index 6dfc51d8..d39c2e1a 100644 --- a/.github/actions/criticalup-config/action.yml +++ b/.github/actions/criticalup-config/action.yml @@ -63,6 +63,7 @@ runs: ./criticalup link create - name: Run `criticalup run` test workflow + shell: bash working-directory: crab-boil run: | ./criticalup run -- cargo init From 24b0794f62f92e438f28d8ad13b20d3add4d4804 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Tue, 3 Feb 2026 13:17:10 +0100 Subject: [PATCH 46/61] commented out the criticalup run workflow for now --- .github/actions/criticalup-config/action.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/actions/criticalup-config/action.yml b/.github/actions/criticalup-config/action.yml index d39c2e1a..a41cbeda 100644 --- a/.github/actions/criticalup-config/action.yml +++ b/.github/actions/criticalup-config/action.yml @@ -62,14 +62,14 @@ runs: run: | ./criticalup link create - - name: Run `criticalup run` test workflow - shell: bash - working-directory: crab-boil - run: | - ./criticalup run -- cargo init - ./criticalup run -- cargo build - ./criticalup run -- cargo run - ./criticalup which rustc + # - name: Run `criticalup run` test workflow + # shell: bash + # working-directory: ${{ path }} + # run: | + # ./criticalup run -- cargo init + # ./criticalup run -- cargo build + # ./criticalup run -- cargo run + # ./criticalup which rustc # Windows allows the `.exe` or not at the users option. - name: Run Windows exclusive commands From 6385232a60d775befae47cfe1b11ffffe8a0586c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Tue, 3 Feb 2026 13:32:27 +0100 Subject: [PATCH 47/61] removed cup worflow from both action and workflow --- .github/workflows/ci.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d0697b11..c8cfd6fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -82,14 +82,6 @@ jobs: matrix: ${{ toJSON(matrix) }} runner: ${{ toJSON(runner) }} - - name: Run `criticalup run` test workflow - working-directory: crab-boil - run: | - ./criticalup run -- cargo init - ./criticalup run -- cargo build - ./criticalup run -- cargo run --bin criticalup - ./criticalup which rustc - - name: Change toolchain and dir to test RA installation shell: bash # bash necessary for heredocs run: | From 1703df0488d5e64b54067b4c77c8884d1d6c76d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Tue, 3 Feb 2026 13:42:18 +0100 Subject: [PATCH 48/61] criticalup returns -1 when no command --- .github/actions/criticalup-config/action.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/actions/criticalup-config/action.yml b/.github/actions/criticalup-config/action.yml index a41cbeda..5b627be3 100644 --- a/.github/actions/criticalup-config/action.yml +++ b/.github/actions/criticalup-config/action.yml @@ -62,14 +62,13 @@ runs: run: | ./criticalup link create - # - name: Run `criticalup run` test workflow - # shell: bash - # working-directory: ${{ path }} - # run: | - # ./criticalup run -- cargo init - # ./criticalup run -- cargo build - # ./criticalup run -- cargo run - # ./criticalup which rustc + - name: Run `criticalup run` test workflow + working-directory: ${{ path }} + run: | + ./criticalup run -- cargo init + ./criticalup run -- cargo build + ./criticalup run -- cargo run + ./criticalup which rustc # Windows allows the `.exe` or not at the users option. - name: Run Windows exclusive commands @@ -86,7 +85,7 @@ runs: working-directory: ${{ path }} run: | cargo +ferrocene build - cargo +ferrocene run --bin criticalup --version + cargo +ferrocene run --bin criticalup help - name: Remove toolchain link shell: bash From 98fa4ecc9dec47796d8c07e7033685a75f497f4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Tue, 3 Feb 2026 13:55:57 +0100 Subject: [PATCH 49/61] shell --- .github/actions/criticalup-config/action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/criticalup-config/action.yml b/.github/actions/criticalup-config/action.yml index 5b627be3..38d8a30e 100644 --- a/.github/actions/criticalup-config/action.yml +++ b/.github/actions/criticalup-config/action.yml @@ -63,6 +63,7 @@ runs: ./criticalup link create - name: Run `criticalup run` test workflow + shell: bash working-directory: ${{ path }} run: | ./criticalup run -- cargo init From ae283a0ac7f4ff5ea810ac8d6c0a6c0cc1e9b3e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Tue, 3 Feb 2026 14:22:21 +0100 Subject: [PATCH 50/61] remove cargo init --- .github/actions/criticalup-config/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/criticalup-config/action.yml b/.github/actions/criticalup-config/action.yml index 38d8a30e..1d71e2c3 100644 --- a/.github/actions/criticalup-config/action.yml +++ b/.github/actions/criticalup-config/action.yml @@ -66,7 +66,7 @@ runs: shell: bash working-directory: ${{ path }} run: | - ./criticalup run -- cargo init + # We cannot run cargo init, it is an existing project ./criticalup run -- cargo build ./criticalup run -- cargo run ./criticalup which rustc From 123adb98bf96b68329ad317735aacb8ef1305cce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Tue, 3 Feb 2026 14:55:37 +0100 Subject: [PATCH 51/61] specify binary --- .github/actions/criticalup-config/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/criticalup-config/action.yml b/.github/actions/criticalup-config/action.yml index 1d71e2c3..c9021da1 100644 --- a/.github/actions/criticalup-config/action.yml +++ b/.github/actions/criticalup-config/action.yml @@ -68,7 +68,7 @@ runs: run: | # We cannot run cargo init, it is an existing project ./criticalup run -- cargo build - ./criticalup run -- cargo run + ./criticalup run -- cargo run --bin criticalup help ./criticalup which rustc # Windows allows the `.exe` or not at the users option. From 4e0c2009b28aaa81b1d6f1786d1776acf7fc310e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Tue, 3 Feb 2026 15:17:30 +0100 Subject: [PATCH 52/61] reinstall --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c8cfd6fe..9fa295d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -121,8 +121,9 @@ jobs: shell: bash # bash necessary for heredocs working-directory: poor-ferris run: | - ./criticalup which rust-analyzer + ./criticalup install --reinstall ./criticalup link create # linking rust-analyzer + ./criticalup which rust-analyzer which rust-analyzer rust-analyzer --version From f030905d57070082adde1d644afd0d80e29a5a1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Tue, 3 Feb 2026 15:39:56 +0100 Subject: [PATCH 53/61] test presence criticalup --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9fa295d4..240a0122 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -81,6 +81,10 @@ jobs: path: crab-boil matrix: ${{ toJSON(matrix) }} runner: ${{ toJSON(runner) }} + + - name: Test criticalup is still installed current dir + working-directory: crab-boil + run: ./criticalup help - name: Change toolchain and dir to test RA installation shell: bash # bash necessary for heredocs @@ -100,6 +104,7 @@ jobs: ] EOF - name: Rust-toolchain file + working-directory: poor-ferris shell: bash run: | cat <<- EOF > rust-toolchain.toml From a85d7a6e988967dcb898782504cfc5285a0136cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Tue, 3 Feb 2026 16:30:32 +0100 Subject: [PATCH 54/61] working directory --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 240a0122..0d2085b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,6 +76,7 @@ jobs: - name: Configure directory uses: ./.github/actions/criticalup-config + working-directory: crab-boil with: token: ${{ secrets.CRITICALUP_TOKEN }} path: crab-boil From c5ff50d34b1e23604d429b4b287ef6a92041f6b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Wed, 4 Feb 2026 11:18:47 +0100 Subject: [PATCH 55/61] finding location --- .github/actions/criticalup-config/action.yml | 4 ++++ .github/workflows/ci.yml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/actions/criticalup-config/action.yml b/.github/actions/criticalup-config/action.yml index c9021da1..262e30a6 100644 --- a/.github/actions/criticalup-config/action.yml +++ b/.github/actions/criticalup-config/action.yml @@ -33,6 +33,7 @@ runs: if: ${{ runner.os == 'Windows' }} working-directory: ${{ path }} run: | + echo pwd powershell -c "Expand-Archive criticalup-${{ matrix.target }}.zip" mv criticalup-${{ matrix.target }}/criticalup.exe criticalup.exe @@ -41,6 +42,7 @@ runs: if: ${{ runner.os != 'Windows' }} working-directory: ${{ path }} run: | + echo pwd tar xvf criticalup-${{ matrix.target }}.tar.xz mv criticalup-${{ matrix.target }}/criticalup criticalup chmod +x ./criticalup @@ -54,6 +56,7 @@ runs: shell: bash working-directory: ${{ path }} run: | + echo pwd ./criticalup install - name: Create toolchain link @@ -92,6 +95,7 @@ runs: shell: bash working-directory: ${{ path }} run: | + echo pwd ./criticalup link remove - name: Run test cleanup workflow diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0d2085b9..db7123bf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,7 +76,6 @@ jobs: - name: Configure directory uses: ./.github/actions/criticalup-config - working-directory: crab-boil with: token: ${{ secrets.CRITICALUP_TOKEN }} path: crab-boil @@ -127,6 +126,7 @@ jobs: shell: bash # bash necessary for heredocs working-directory: poor-ferris run: | + echo pwd ./criticalup install --reinstall ./criticalup link create # linking rust-analyzer ./criticalup which rust-analyzer From 0f55a3912e2ce09613f1c2c152601a1e0cec1de2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Wed, 4 Feb 2026 11:34:34 +0100 Subject: [PATCH 56/61] {{ github.workspace }} --- .github/actions/criticalup-config/action.yml | 6 +++--- .github/workflows/ci.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/criticalup-config/action.yml b/.github/actions/criticalup-config/action.yml index 262e30a6..fd13a3b7 100644 --- a/.github/actions/criticalup-config/action.yml +++ b/.github/actions/criticalup-config/action.yml @@ -33,7 +33,7 @@ runs: if: ${{ runner.os == 'Windows' }} working-directory: ${{ path }} run: | - echo pwd + echo ${{ github.workspace }} powershell -c "Expand-Archive criticalup-${{ matrix.target }}.zip" mv criticalup-${{ matrix.target }}/criticalup.exe criticalup.exe @@ -56,7 +56,7 @@ runs: shell: bash working-directory: ${{ path }} run: | - echo pwd + echo ${{ github.workspace }} ./criticalup install - name: Create toolchain link @@ -95,7 +95,7 @@ runs: shell: bash working-directory: ${{ path }} run: | - echo pwd + echo ${{ github.workspace }} ./criticalup link remove - name: Run test cleanup workflow diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index db7123bf..3a62de4e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -126,7 +126,7 @@ jobs: shell: bash # bash necessary for heredocs working-directory: poor-ferris run: | - echo pwd + echo ${{ github.workspace }} ./criticalup install --reinstall ./criticalup link create # linking rust-analyzer ./criticalup which rust-analyzer From 70c3f50692a3c7449d1feaf224cff5eb1d584176 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Wed, 4 Feb 2026 12:09:07 +0100 Subject: [PATCH 57/61] need clarity for the different runners --- .github/actions/criticalup-config/action.yml | 30 +++++++++++++------- .github/workflows/ci.yml | 19 +++++++++++++ 2 files changed, 39 insertions(+), 10 deletions(-) diff --git a/.github/actions/criticalup-config/action.yml b/.github/actions/criticalup-config/action.yml index fd13a3b7..624ddbcb 100644 --- a/.github/actions/criticalup-config/action.yml +++ b/.github/actions/criticalup-config/action.yml @@ -22,27 +22,37 @@ inputs: runs: using: composite steps: + + - name: Establish paths inside composite action + shell: bash + run: | + echo "pwd $(pwd)" + echo "github.workspace: ${{ github.workspace }}" + echo "runner.temp: ${{ runner.temp }}" + echo "GITHUB_WORKSPACE: $GITHUB_WORKSPACE" + echo "runner temp env variable $RUNNER_TEMP" - name: Download artifacts uses: actions/download-artifact@v4 with: name: criticalup-${{ matrix.target }}.${{ runner.os == 'Windows' && 'zip' || 'tar.xz' }} - path: ${{ path }} + path: ${{ github.workspace}}/${{ path }} - name: Unpack archive shell: bash if: ${{ runner.os == 'Windows' }} - working-directory: ${{ path }} + working-directory: ${{ github.workspace }}/${{ inputs.path }} run: | echo ${{ github.workspace }} powershell -c "Expand-Archive criticalup-${{ matrix.target }}.zip" + echo "working-directory: ${{ github.workspace }}/${{ inputs.path }}" mv criticalup-${{ matrix.target }}/criticalup.exe criticalup.exe - name: Unpack archive and make executable shell: bash if: ${{ runner.os != 'Windows' }} working-directory: ${{ path }} + working-directory: ${{ github.workspace }}/${{ inputs.path }} run: | - echo pwd tar xvf criticalup-${{ matrix.target }}.tar.xz mv criticalup-${{ matrix.target }}/criticalup criticalup chmod +x ./criticalup @@ -54,20 +64,20 @@ runs: - name: Install toolchain shell: bash - working-directory: ${{ path }} + working-directory: ${{ github.workspace }}/${{ inputs.path }} run: | echo ${{ github.workspace }} ./criticalup install - name: Create toolchain link shell: bash - working-directory: ${{ path }} + working-directory: ${{ github.workspace }}/${{ inputs.path }} run: | ./criticalup link create - name: Run `criticalup run` test workflow shell: bash - working-directory: ${{ path }} + working-directory: ${{ github.workspace }}/${{ inputs.path }} run: | # We cannot run cargo init, it is an existing project ./criticalup run -- cargo build @@ -78,7 +88,7 @@ runs: - name: Run Windows exclusive commands shell: bash if: ${{ runner.os == 'Windows' }} - working-directory: ${{ path }} + working-directory: ${{ github.workspace }}/${{ inputs.path }} run: | ./criticalup.exe run -- cargo --version ./criticalup run -- cargo.exe --version @@ -86,21 +96,21 @@ runs: - name: Run `cargo +ferrocene` test workflow shell: bash - working-directory: ${{ path }} + working-directory: ${{ github.workspace }}/${{ inputs.path }} run: | cargo +ferrocene build cargo +ferrocene run --bin criticalup help - name: Remove toolchain link shell: bash - working-directory: ${{ path }} + working-directory: ${{ github.workspace }}/${{ inputs.path }} run: | echo ${{ github.workspace }} ./criticalup link remove - name: Run test cleanup workflow shell: bash - working-directory: ${{ path }} + working-directory: ${{ github.workspace }}/${{ inputs.path }} run: | ./criticalup remove ./criticalup clean diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3a62de4e..f260756e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,6 +74,16 @@ jobs: ] EOF + - name: Establish paths inside workflow before calling action + shell: bash + run: | + echo "pwd $(pwd)" + echo "github.workspace: ${{ github.workspace }}" + echo "runner.temp: ${{ runner.temp }}" + echo "GITHUB_WORKSPACE: $GITHUB_WORKSPACE" + echo "runner temp env variable $RUNNER_TEMP" + + - name: Configure directory uses: ./.github/actions/criticalup-config with: @@ -81,6 +91,15 @@ jobs: path: crab-boil matrix: ${{ toJSON(matrix) }} runner: ${{ toJSON(runner) }} + + - name: Establish paths inside workflow after calling action + shell: bash + run: | + echo "pwd $(pwd)" + echo "github.workspace: ${{ github.workspace }}" + echo "runner.temp: ${{ runner.temp }}" + echo "GITHUB_WORKSPACE: $GITHUB_WORKSPACE" + echo "runner temp env variable $RUNNER_TEMP" - name: Test criticalup is still installed current dir working-directory: crab-boil From 59cc4a0c32866438ee402c936ac5d1fca9f333ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Wed, 4 Feb 2026 12:31:54 +0100 Subject: [PATCH 58/61] typo --- .github/actions/criticalup-config/action.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/actions/criticalup-config/action.yml b/.github/actions/criticalup-config/action.yml index 624ddbcb..9901e4d4 100644 --- a/.github/actions/criticalup-config/action.yml +++ b/.github/actions/criticalup-config/action.yml @@ -50,7 +50,6 @@ runs: - name: Unpack archive and make executable shell: bash if: ${{ runner.os != 'Windows' }} - working-directory: ${{ path }} working-directory: ${{ github.workspace }}/${{ inputs.path }} run: | tar xvf criticalup-${{ matrix.target }}.tar.xz @@ -59,7 +58,7 @@ runs: - name: Auth Criticalup shell: bash - working-directory: ${{ path }} + working-directory: ${{ github.workspace }}/${{ inputs.path }} run: ./criticalup auth set $CRITICALUP_TOKEN - name: Install toolchain From e523c064c2f1929f50a71ed4c0e28c970ea91ea1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Wed, 4 Feb 2026 12:46:22 +0100 Subject: [PATCH 59/61] maybe just inputs --- .github/actions/criticalup-config/action.yml | 31 ++++++++------------ 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/.github/actions/criticalup-config/action.yml b/.github/actions/criticalup-config/action.yml index 9901e4d4..c1845058 100644 --- a/.github/actions/criticalup-config/action.yml +++ b/.github/actions/criticalup-config/action.yml @@ -27,22 +27,19 @@ runs: shell: bash run: | echo "pwd $(pwd)" - echo "github.workspace: ${{ github.workspace }}" - echo "runner.temp: ${{ runner.temp }}" - echo "GITHUB_WORKSPACE: $GITHUB_WORKSPACE" - echo "runner temp env variable $RUNNER_TEMP" + echo "input path: ${{ inputs.path }}" + - name: Download artifacts uses: actions/download-artifact@v4 with: name: criticalup-${{ matrix.target }}.${{ runner.os == 'Windows' && 'zip' || 'tar.xz' }} - path: ${{ github.workspace}}/${{ path }} + path: ${{ inputs.path }} - name: Unpack archive shell: bash if: ${{ runner.os == 'Windows' }} - working-directory: ${{ github.workspace }}/${{ inputs.path }} + working-directory: ${{ inputs.path }} run: | - echo ${{ github.workspace }} powershell -c "Expand-Archive criticalup-${{ matrix.target }}.zip" echo "working-directory: ${{ github.workspace }}/${{ inputs.path }}" mv criticalup-${{ matrix.target }}/criticalup.exe criticalup.exe @@ -50,7 +47,7 @@ runs: - name: Unpack archive and make executable shell: bash if: ${{ runner.os != 'Windows' }} - working-directory: ${{ github.workspace }}/${{ inputs.path }} + working-directory: ${{ inputs.path }} run: | tar xvf criticalup-${{ matrix.target }}.tar.xz mv criticalup-${{ matrix.target }}/criticalup criticalup @@ -58,25 +55,24 @@ runs: - name: Auth Criticalup shell: bash - working-directory: ${{ github.workspace }}/${{ inputs.path }} + working-directory: ${{ inputs.path }} run: ./criticalup auth set $CRITICALUP_TOKEN - name: Install toolchain shell: bash - working-directory: ${{ github.workspace }}/${{ inputs.path }} + working-directory: ${{ inputs.path }} run: | - echo ${{ github.workspace }} ./criticalup install - name: Create toolchain link shell: bash - working-directory: ${{ github.workspace }}/${{ inputs.path }} + working-directory: ${{ inputs.path }} run: | ./criticalup link create - name: Run `criticalup run` test workflow shell: bash - working-directory: ${{ github.workspace }}/${{ inputs.path }} + working-directory: ${{ inputs.path }} run: | # We cannot run cargo init, it is an existing project ./criticalup run -- cargo build @@ -87,7 +83,7 @@ runs: - name: Run Windows exclusive commands shell: bash if: ${{ runner.os == 'Windows' }} - working-directory: ${{ github.workspace }}/${{ inputs.path }} + working-directory: ${{ inputs.path }} run: | ./criticalup.exe run -- cargo --version ./criticalup run -- cargo.exe --version @@ -95,21 +91,20 @@ runs: - name: Run `cargo +ferrocene` test workflow shell: bash - working-directory: ${{ github.workspace }}/${{ inputs.path }} + working-directory: ${{ inputs.path }} run: | cargo +ferrocene build cargo +ferrocene run --bin criticalup help - name: Remove toolchain link shell: bash - working-directory: ${{ github.workspace }}/${{ inputs.path }} + working-directory: ${{ inputs.path }} run: | - echo ${{ github.workspace }} ./criticalup link remove - name: Run test cleanup workflow shell: bash - working-directory: ${{ github.workspace }}/${{ inputs.path }} + working-directory: ${{ inputs.path }} run: | ./criticalup remove ./criticalup clean From c01b00502c01d298613877f800882c60092771a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Thu, 5 Mar 2026 15:14:17 +0100 Subject: [PATCH 60/61] testing for regression --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f260756e..68b30c1e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -114,7 +114,7 @@ jobs: manifest-version = 1 [products.ferrocene] - release = "nightly-2026-01-29" + release = "beta-26.02-2026-02-21" packages = [ "cargo-\${rustc-host}", "rustc-\${rustc-host}", From c7069a0e3a43eefd137701f32bd8b1bbcadfce8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=AFssata=20Ma=C3=AFga?= Date: Thu, 5 Mar 2026 15:31:42 +0100 Subject: [PATCH 61/61] Revert "testing for regression" This reverts commit c01b00502c01d298613877f800882c60092771a5. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 68b30c1e..f260756e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -114,7 +114,7 @@ jobs: manifest-version = 1 [products.ferrocene] - release = "beta-26.02-2026-02-21" + release = "nightly-2026-01-29" packages = [ "cargo-\${rustc-host}", "rustc-\${rustc-host}",