Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

ci: pin Rust to 1.99.0 via rust-toolchain.toml

leepokai764629f82b74
diff --git a/.github/workflows/host.yml b/.github/workflows/host.yml
index cda1e9f5..9c4386a6 100644
--- a/.github/workflows/host.yml
+++ b/.github/workflows/host.yml
@@ -19,9 +19,8 @@ jobs:
working-directory: host
steps:
- uses: actions/checkout@v4
- - uses: dtolnay/rust-toolchain@stable
- with:
- components: clippy, rustfmt
+ - name: Install Rust (rust-toolchain.toml)
+ run: rustup toolchain install
- uses: Swatinem/rust-cache@v2
with:
workspaces: host
@@ -44,9 +43,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: sudo apt-get update && sudo apt-get install -y libgtk-4-dev libadwaita-1-dev libvte-2.91-gtk4-dev xvfb dbus-x11 imagemagick
- - uses: dtolnay/rust-toolchain@stable
- with:
- components: clippy
+ - name: Install Rust (rust-toolchain.toml)
+ run: rustup toolchain install
- uses: Swatinem/rust-cache@v2
with:
workspaces: apps/linux
@@ -97,9 +95,9 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v4
- - uses: dtolnay/rust-toolchain@stable
- with:
- targets: ${{ matrix.target }}
+ - name: Install Rust (rust-toolchain.toml)
+ run: rustup toolchain install
+ - run: rustup target add ${{ matrix.target }}
- if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y musl-tools
- name: Build
diff --git a/.github/workflows/release-macos.yml b/.github/workflows/release-macos.yml
index a20ee938..5c6b17c0 100644
--- a/.github/workflows/release-macos.yml
+++ b/.github/workflows/release-macos.yml
@@ -21,9 +21,9 @@ jobs:
else VERSION=$(awk '/MARKETING_VERSION:/ {print $2; exit}' apps/project.yml); fi
echo "VERSION=$VERSION" >> $GITHUB_ENV
- - uses: dtolnay/rust-toolchain@stable
- with:
- targets: aarch64-apple-darwin,x86_64-apple-darwin
+ - name: Install Rust (rust-toolchain.toml)
+ run: rustup toolchain install
+ - run: rustup target add aarch64-apple-darwin x86_64-apple-darwin
- name: Install Apple certificate and provisioning profile
env:
diff --git a/.github/workflows/screen-linux.yml b/.github/workflows/screen-linux.yml
index e7619b4e..e8eb4967 100644
--- a/.github/workflows/screen-linux.yml
+++ b/.github/workflows/screen-linux.yml
@@ -25,9 +25,8 @@ jobs:
run: |
sudo apt-get -o Acquire::Retries=3 -o Acquire::http::Timeout=60 -o Acquire::https::Timeout=60 update
sudo apt-get -o Acquire::Retries=3 -o Acquire::http::Timeout=60 -o Acquire::https::Timeout=60 install -y --no-install-recommends libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev
- - uses: dtolnay/rust-toolchain@stable
- with:
- components: clippy, rustfmt
+ - name: Install Rust (rust-toolchain.toml)
+ run: rustup toolchain install
- uses: Swatinem/rust-cache@v2
with:
workspaces: apps/screen-linux
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
new file mode 100644
index 00000000..04c997f1
--- /dev/null
+++ b/rust-toolchain.toml
@@ -0,0 +1,6 @@
+# One Rust for every crate here (host, apps/linux, apps/screen-linux) and CI,
+# so a new stable release can't break clippy -D warnings overnight.
+# Bump deliberately: change the version, run clippy on every crate, commit.
+[toolchain]
+channel = "1.99.0"
+components = ["clippy", "rustfmt"]