Skip to content

Commit b1a7fa7

Browse files
committed
fix(ci): pin rust toolchain and enforce locked builds
1 parent 621f3f2 commit b1a7fa7

3 files changed

Lines changed: 10 additions & 6 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
- name: Install Rust
4242
uses: dtolnay/rust-toolchain@stable
4343
with:
44+
toolchain: 1.91.1
4445
targets: ${{ matrix.platform == 'macos-14' && 'aarch64-apple-darwin' || matrix.platform == 'macos-15' && 'x86_64-apple-darwin' || '' }}
4546

4647
- name: Install Linux Dependencies
@@ -154,7 +155,7 @@ jobs:
154155
releaseBody: ${{ steps.release_notes.outputs.BODY }}
155156
releaseDraft: false
156157
prerelease: false
157-
args: ${{ matrix.args }}
158+
args: ${{ matrix.args != '' && format('{0} -- --locked', matrix.args) || '-- --locked' }}
158159
tauriScript: 'bun tauri'
159160

160161
update-tap:

rust-toolchain.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[toolchain]
2+
channel = "1.91.1"
3+
components = ["clippy", "rustfmt"]

src-tauri/Cargo.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)