mirror of
https://github.com/atuinsh/atuin.git
synced 2025-12-14 20:35:55 +01:00
chore: update to rust 1.91 (#2981)
<!-- Thank you for making a PR! Bug fixes are always welcome, but if you're adding a new feature or changing an existing one, we'd really appreciate if you open an issue, post on the forum, or drop in on Discord --> ## Checks - [ ] I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle - [ ] I have checked that there are no existing pull requests for the same thing
This commit is contained in:
12
.github/workflows/rust.yml
vendored
12
.github/workflows/rust.yml
vendored
@@ -26,7 +26,7 @@ jobs:
|
||||
- name: Install rust
|
||||
uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: 1.90
|
||||
toolchain: 1.91
|
||||
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
@@ -97,7 +97,7 @@ jobs:
|
||||
- name: Install rust
|
||||
uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: 1.90
|
||||
toolchain: 1.91
|
||||
|
||||
- uses: taiki-e/install-action@v2
|
||||
name: Install nextest
|
||||
@@ -127,7 +127,7 @@ jobs:
|
||||
- name: Install rust
|
||||
uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: 1.90
|
||||
toolchain: 1.91
|
||||
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
@@ -171,7 +171,7 @@ jobs:
|
||||
- name: Install rust
|
||||
uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: 1.90
|
||||
toolchain: 1.91
|
||||
|
||||
- uses: taiki-e/install-action@v2
|
||||
name: Install nextest
|
||||
@@ -200,7 +200,7 @@ jobs:
|
||||
- name: Install latest rust
|
||||
uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: 1.90
|
||||
toolchain: 1.91
|
||||
components: clippy
|
||||
|
||||
- uses: actions/cache@v4
|
||||
@@ -223,7 +223,7 @@ jobs:
|
||||
- name: Install latest rust
|
||||
uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: 1.90
|
||||
toolchain: 1.91
|
||||
components: rustfmt
|
||||
|
||||
- name: Format
|
||||
|
||||
@@ -7,7 +7,7 @@ exclude = ["ui/backend"]
|
||||
[workspace.package]
|
||||
version = "18.10.0"
|
||||
authors = ["Ellie Huxtable <ellie@atuin.sh>"]
|
||||
rust-version = "1.90"
|
||||
rust-version = "1.91"
|
||||
license = "MIT"
|
||||
homepage = "https://atuin.sh"
|
||||
repository = "https://github.com/atuinsh/atuin"
|
||||
|
||||
@@ -138,8 +138,8 @@ pub fn draw_stats_table(
|
||||
format_duration(avg_duration),
|
||||
]),
|
||||
Row::new(vec!["Exit".to_string(), history.exit.to_string()]),
|
||||
Row::new(vec!["Directory".to_string(), history.cwd.to_string()]),
|
||||
Row::new(vec!["Session".to_string(), history.session.to_string()]),
|
||||
Row::new(vec!["Directory".to_string(), history.cwd.clone()]),
|
||||
Row::new(vec!["Session".to_string(), history.session.clone()]),
|
||||
Row::new(vec!["Total runs".to_string(), stats.total.to_string()]),
|
||||
];
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
fenix.packages.${system}.fromToolchainFile
|
||||
{
|
||||
file = ./rust-toolchain.toml;
|
||||
sha256 = "sha256-SJwZ8g0zF2WrKDVmHrVG3pD2RGoQeo24MEXnNx5FyuI=";
|
||||
sha256 = "sha256-2eWc3xVTKqg5wKSHGwt1XoM/kUBC6y3MWfKg74Zn+fY=";
|
||||
};
|
||||
in
|
||||
pkgs.makeRustPlatform {
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
[toolchain]
|
||||
channel = "1.90"
|
||||
channel = "1.91"
|
||||
|
||||
Reference in New Issue
Block a user