Skip to content

Commit 1318996

Browse files
committed
chore: reduce GHA dependabot frequency
1 parent fe373a7 commit 1318996

File tree

5 files changed

+46
-54
lines changed

5 files changed

+46
-54
lines changed

.cspell.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
version: "0.2"
22
words:
33
- btreemap
4+
- clippy
45
- deque
56
- deserializable
67
- docsrs
78
- dotenv
89
- indoc
910
- ints
1011
- maplit
11-
- msrv
12+
- MSRV
13+
- nextest
1214
- nixpkgs
1315
- noncomposite
1416
- nums
@@ -19,11 +21,11 @@ words:
1921
- println
2022
- refpath
2123
- reqwest
24+
- RUSTDOCFLAGS
2225
- rustfmt
2326
- rustup
2427
- semver
2528
- serde
26-
- spdx
2729
- strs
2830
- struct
2931
- structs

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ updates:
33
- package-ecosystem: github-actions
44
directory: /
55
schedule:
6-
interval: weekly
6+
interval: monthly
77
- package-ecosystem: cargo
88
directory: /
99
schedule:
File renamed without changes.

Cargo.lock

Lines changed: 35 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

justfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
_list:
22
@just --list
33

4+
toolchain := ""
5+
46
msrv := ```
57
cargo metadata --format-version=1 \
68
| jq -r 'first(.packages[] | select(.source == null and .rust_version)) | .rust_version' \
@@ -41,12 +43,15 @@ clippy:
4143
# Downgrade dev-dependencies necessary to run MSRV checks/tests.
4244
[private]
4345
downgrade-for-msrv:
46+
cargo {{ toolchain }} update -p=idna_adapter --precise=1.2.0 # next ver: 1.82.0
4447
cargo update -p=litemap --precise=0.7.4 # next ver: 1.81.0
4548
cargo update -p=zerofrom --precise=0.1.5 # next ver: 1.81.0
4649

4750
# Test workspace using MSRV.
4851
[group("test")]
49-
test-msrv: downgrade-for-msrv (test msrv_rustup)
52+
test-msrv:
53+
@just toolchain={{ msrv_rustup }} downgrade-for-msrv
54+
@just toolchain={{ msrv_rustup }} test
5055

5156
# Test workspace.
5257
[group("test")]

0 commit comments

Comments
 (0)