Skip to content

Commit

Permalink
Update Indexmap dependency and enable Dependabot (#22)
Browse files Browse the repository at this point in the history
Co-authored-by: Cecile Tonglet <[email protected]>
  • Loading branch information
futursolo and cecton authored Jul 29, 2023
1 parent e0f6ff7 commit 0189802
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"

- package-ecosystem: "cargo"
directory: "/"
schedule:
interval: "weekly"
8 changes: 4 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: Rust

on:
push:
branches: [ main ]
branches: [main]
schedule:
- cron: 0 0 1 * *
pull_request:
branches: [ main ]
branches: [main]

env:
CARGO_TERM_COLOR: always
Expand All @@ -21,14 +21,14 @@ jobs:
- macos-latest
rust:
- stable
- 1.60.0
- 1.64.0
include:
- os: ubuntu-latest
rust: stable
lint: 1
- rust: stable
rust-args: --all-features
- rust: 1.60.0
- rust: 1.64.0
rust-args: --all-features
runs-on: ${{ matrix.os }}
steps:
Expand Down
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ documentation = "https://docs.rs/implicit-clone"
readme = "README.md"
keywords = ["immutable", "cheap-clone", "copy", "rc"]
categories = ["rust-patterns"]
rust-version = "1.64"

[package.metadata.docs.rs]
all-features = true
Expand All @@ -21,5 +22,5 @@ map = ["indexmap"]
serde = ["dep:serde", "indexmap/serde"]

[dependencies]
indexmap = { version = "1", optional = true }
indexmap = { version = "2", optional = true }
serde = { version = "1", optional = true }

0 comments on commit 0189802

Please sign in to comment.