Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ jobs:
persist-credentials: false
- name: Set up Rust toolchain
run: |
rustup toolchain install stable --profile minimal
rustup default stable
rustup toolchain install
- name: Publish the crate
run: cargo publish
env:
Expand Down Expand Up @@ -63,8 +62,7 @@ jobs:
- name: Set up Rust toolchain
shell: bash
run: |
rustup toolchain install stable --profile minimal
rustup default stable
rustup toolchain install
- name: Build
run: cargo build --release
- name: Upload Release Asset
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ jobs:
persist-credentials: false
- name: Set up Rust toolchain
run: |
rustup toolchain install stable --profile minimal --component clippy
rustup default stable
rustup toolchain install
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
- name: Run tests
run: cargo test --verbose
Expand Down
7 changes: 7 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Pinned because rustc 1.100.0 rejects git-url-parse 0.6.0 (E0038: nom's
# `Parser` trait is not dyn compatible). Move back to "stable" once
# git-url-parse ships a fix.
[toolchain]
channel = "1.99.1"
profile = "minimal"
components = ["clippy"]