Skip to content

Commit 53b71a5

Browse files
committed
chore: Update from '_rust/main' template
2 parents ca5e143 + 5286387 commit 53b71a5

File tree

4 files changed

+34
-3
lines changed

4 files changed

+34
-3
lines changed

.github/renovate.json5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
schedule: [
3-
'before 3am on the first day of the month',
3+
'before 5am on the first day of the month',
44
],
55
semanticCommits: 'enabled',
66
configMigration: true,

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,18 @@ jobs:
6565
run: cargo check --workspace --all-targets --all-features
6666
- name: No-default features
6767
run: cargo check --workspace --all-targets --no-default-features
68+
lockfile:
69+
runs-on: ubuntu-latest
70+
steps:
71+
- name: Checkout repository
72+
uses: actions/checkout@v3
73+
- name: Install Rust
74+
uses: dtolnay/rust-toolchain@stable
75+
with:
76+
toolchain: stable
77+
- uses: Swatinem/rust-cache@v2
78+
- name: "Is lockfile updated?"
79+
run: cargo fetch --locked
6880
docs:
6981
name: Docs
7082
runs-on: ubuntu-latest

.github/workflows/rust-next.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,22 @@ jobs:
3838
run: cargo test --workspace --all-features
3939
- name: No-default features
4040
run: cargo test --workspace --no-default-features
41+
latest:
42+
name: "Check latest dependencies"
43+
runs-on: ubuntu-latest
44+
steps:
45+
- name: Checkout repository
46+
uses: actions/checkout@v3
47+
- name: Install Rust
48+
uses: dtolnay/rust-toolchain@stable
49+
with:
50+
toolchain: stable
51+
- uses: Swatinem/rust-cache@v2
52+
- name: Update dependencues
53+
run: cargo update
54+
- name: Default features
55+
run: cargo test --workspace --all-targets
56+
- name: All features
57+
run: cargo test --workspace --all-targets --all-features
58+
- name: No-default features
59+
run: cargo test --workspace --all-targets --no-default-features

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ repos:
1515
- id: detect-private-key
1616
stages: [commit]
1717
- repo: https://github.com/crate-ci/typos
18-
rev: v1.14.10
18+
rev: v1.16.3
1919
hooks:
2020
- id: typos
2121
stages: [commit]
2222
- repo: https://github.com/crate-ci/committed
23-
rev: v1.0.17
23+
rev: v1.0.20
2424
hooks:
2525
- id: committed
2626
stages: [commit-msg]

0 commit comments

Comments
 (0)