Skip to content

Commit e8446b2

Browse files
committed
Update cadence to 1.6
1 parent b46ab37 commit e8446b2

File tree

5 files changed

+56
-6
lines changed

5 files changed

+56
-6
lines changed

.github/dependabot.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,15 @@ updates:
44
directory: "/"
55
schedule:
66
interval: "weekly"
7+
assignees:
8+
- "pnehrer"
9+
groups:
10+
patch-updates:
11+
update-types:
12+
- "patch"
713
- package-ecosystem: "github-actions"
814
directory: "/"
915
schedule:
10-
interval: "weekly"
11-
16+
interval: "weekly"
17+
assignees:
18+
- "pnehrer"
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Dependabot Auto-Merge
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened]
6+
7+
permissions:
8+
contents: write
9+
pull-requests: write
10+
11+
jobs:
12+
dependabot-auto-merge:
13+
runs-on: ubuntu-latest
14+
if: github.actor == 'dependabot[bot]'
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v5
18+
19+
- name: Get Dependabot metadata
20+
id: metadata
21+
uses: dependabot/fetch-metadata@v2
22+
with:
23+
github-token: "${{ secrets.GITHUB_TOKEN }}"
24+
25+
- name: Auto-approve patch and minor updates for Cargo
26+
if: |
27+
steps.metadata.outputs.package-ecosystem == 'cargo' &&
28+
(steps.metadata.outputs.update-type == 'version-update:semver-patch' ||
29+
steps.metadata.outputs.update-type == 'version-update:semver-minor')
30+
run: gh pr review --approve "$PR_URL"
31+
env:
32+
PR_URL: ${{ github.event.pull_request.html_url }}
33+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
35+
- name: Enable auto-merge for patch and minor Cargo updates
36+
if: |
37+
steps.metadata.outputs.package-ecosystem == 'cargo' &&
38+
(steps.metadata.outputs.update-type == 'version-update:semver-patch' ||
39+
steps.metadata.outputs.update-type == 'version-update:semver-minor')
40+
run: gh pr merge --auto --squash "$PR_URL"
41+
env:
42+
PR_URL: ${{ github.event.pull_request.html_url }}
43+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "tokio-cadence"
33
description = "Tokio-based metric sinks for Cadence "
4-
version = "0.6.0"
4+
version = "0.7.0"
55
repository = "https://github.com/ecliptical/tokio-cadence"
66
authors = ["Peter Nehrer <pnehrer@eclipticalsoftware.com>"]
77
license = "MIT"
@@ -10,7 +10,7 @@ edition = "2021"
1010
rust-version = "1.70"
1111

1212
[dependencies]
13-
cadence = "1.5"
13+
cadence = "1.6"
1414
log = "0.4"
1515
tokio = { version = "1", features = ["net", "sync", "time"] }
1616

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020-2024 Ecliptical Software Inc.
3+
Copyright (c) 2020-2025 Ecliptical Software Inc.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Add `cadence`, `tokio`, and `tokio-cadence` to your `Cargo.toml`:
2727
[dependencies]
2828
cadence = "1"
2929
tokio = { version = "1", features = ["full"] }
30-
tokio-cadence = "0.6"
30+
tokio-cadence = "0.7"
3131
```
3232

3333
## Usage

0 commit comments

Comments
 (0)