From e904d1f7e93d0c3394ce31abdfa354a20d978e87 Mon Sep 17 00:00:00 2001 From: arduano Date: Tue, 30 Apr 2024 14:11:11 +1000 Subject: [PATCH 1/2] Pin rust version --- .github/workflows/build.yml | 6 +++--- .github/workflows/check.yml | 2 +- .github/workflows/publish-tags.yml | 2 +- rust-toolchain | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d7592dc..8643b5f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,7 +27,7 @@ jobs: - name: Install Rust toolchain uses: actions-rs/toolchain@v1 with: - toolchain: nightly + toolchain: nightly-2024-04-02 target: ${{ matrix.target.name }} override: true profile: minimal @@ -61,7 +61,7 @@ jobs: - name: Install target uses: actions-rs/toolchain@v1 with: - toolchain: nightly + toolchain: nightly-2024-04-02 target: ${{ matrix.target.name }} override: true profile: minimal @@ -98,7 +98,7 @@ jobs: - name: Install Rust toolchain uses: actions-rs/toolchain@v1 with: - toolchain: nightly + toolchain: nightly-2024-04-02 target: ${{ matrix.target.name }} override: true profile: minimal diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 7e71465..c09ff51 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -12,7 +12,7 @@ jobs: name: Initialize Cargo with: profile: minimal - toolchain: nightly + toolchain: nightly-2024-04-02 override: true components: rustfmt, clippy cache-on-failure: true diff --git a/.github/workflows/publish-tags.yml b/.github/workflows/publish-tags.yml index 9e97f61..5d51b32 100644 --- a/.github/workflows/publish-tags.yml +++ b/.github/workflows/publish-tags.yml @@ -19,7 +19,7 @@ jobs: name: Initialize Cargo with: profile: minimal - toolchain: nightly + toolchain: nightly-2024-04-02 override: true - name: Get current version diff --git a/rust-toolchain b/rust-toolchain index 07ade69..fd4d5ad 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -nightly \ No newline at end of file +nightly-2024-04-02 \ No newline at end of file From 00c707fb438351bb47e46d9d6b840807f26f1f29 Mon Sep 17 00:00:00 2001 From: arduano Date: Tue, 30 Apr 2024 14:20:58 +1000 Subject: [PATCH 2/2] fix warning --- src/state.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/state.rs b/src/state.rs index 9ea0a30..c652a76 100644 --- a/src/state.rs +++ b/src/state.rs @@ -6,5 +6,5 @@ pub struct WasabiState { pub settings_visible: bool, pub xsynth_settings_visible: bool, pub last_midi_file: Option, - pub last_sfz_file: Option, + // pub last_sfz_file: Option, }