Skip to content

Commit

Permalink
fix: according to the comments in pr7
Browse files Browse the repository at this point in the history
  • Loading branch information
shuimuliang committed Oct 23, 2023
1 parent 80bfc15 commit d88e19d
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 15 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/lint-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,3 @@ jobs:
pull-requests: read # for amannn/action-semantic-pull-request to analyze PRs
statuses: write # for amannn/action-semantic-pull-request to mark status of analyzed PR
runs-on: ubuntu-latest
steps:
- uses: amannn/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
components: clippy
- name: Lint
run: cargo clippy --workspace --all-targets --tests -- -D warnings
run: cargo clippy --all-targets --all-features -- -D warnings

format:
runs-on: ubuntu-latest
Expand Down
7 changes: 1 addition & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,8 @@
/tmp

# will have compiled files and executables
debug/
/target

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk

Expand All @@ -26,4 +21,4 @@ Cargo.lock

# MaxOS files
.DS_Store
*.swp
*.swp
14 changes: 12 additions & 2 deletions 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
Expand Up @@ -33,7 +33,7 @@ lightning-net-tokio = { version = "0.0.115" }
lightning-persister = { version = "0.0.115", path = "./rust-lightning/lightning-persister" }
lightning-rapid-gossip-sync = { version = "0.0.115" }
magic-crypt = "3.1.12"
miniscript = { version = "9.0.1", features = ["serde"] }
miniscript = { version = "8.0", features = ["serde"] }
rand = "0.8.5"
reqwest = { version = "0.11", default-features = false, features = ["json", "multipart", "native-tls", "stream"] }
scrypt = "0.11.0"
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "nightly"
channel = "stable"
components = ["clippy", "rustfmt"]
targets = []
profile = "minimal"

0 comments on commit d88e19d

Please sign in to comment.