Skip to content

Commit

Permalink
ci: upgrade caching (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret authored Jul 18, 2023
1 parent 400ff7a commit 752fff9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ jobs:
- uses: denoland/setup-deno@v1
- uses: dsherret/rust-toolchain-file@v1

- name: Cache
uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
with:
save-if: ${{ github.ref == 'refs/heads/main' }}

- name: Format
run: cargo fmt --all -- --check
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "1.68.2"
channel = "1.71.0"
components = ["clippy", "rustfmt"]
profile = "minimal"
2 changes: 1 addition & 1 deletion src/resolution/graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,7 @@ impl<'a, TNpmRegistryApi: NpmRegistryApi>

if !has_deps {
// ensure this is set if not, as it's an optimization
let mut node = self.graph.borrow_node_mut(node_id);
let node = self.graph.borrow_node_mut(node_id);
node.no_peers = true;
}

Expand Down

0 comments on commit 752fff9

Please sign in to comment.