Skip to content

Commit

Permalink
Remove --locked
Browse files Browse the repository at this point in the history
Many crates are outdated. One is even yanked. IMO failing build is
better than running with insecure/bad dependencies.

Ref: #212 (comment)
  • Loading branch information
sayanarijit committed Jun 5, 2021
1 parent 9a22c8b commit a1a1dee
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
with:
command: build
toolchain: ${{ matrix.rust }}
args: --locked --release --target ${{ matrix.target }}
args: --release --target ${{ matrix.target }}

- name: Install gpg secret key
run: |
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "xplr"
version = "0.13.5" # Update lua.rs
version = "0.13.6" # Update lua.rs
authors = ["Arijit Basu <[email protected]>"]
edition = "2018"
description = "A hackable, minimal, fast TUI file explorer"
Expand Down
9 changes: 5 additions & 4 deletions src/lua.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,11 @@ mod test {
assert!(check_version("0.13.3", "foo path").is_ok());
assert!(check_version("0.13.4", "foo path").is_ok());
assert!(check_version("0.13.5", "foo path").is_ok());
assert!(check_version("0.13.6", "foo path").is_ok());

assert!(check_version("0.13.6", "foo path").is_err());
assert!(check_version("0.14.5", "foo path").is_err());
assert!(check_version("0.11.5", "foo path").is_err());
assert!(check_version("1.13.5", "foo path").is_err());
assert!(check_version("0.13.7", "foo path").is_err());
assert!(check_version("0.14.6", "foo path").is_err());
assert!(check_version("0.11.6", "foo path").is_err());
assert!(check_version("1.13.6", "foo path").is_err());
}
}

0 comments on commit a1a1dee

Please sign in to comment.