Skip to content

Commit 8bcf9a6

Browse files
authored
chore: updates actions (#59)
* chore: updates actions * fix: remove lifetimes that could be elided
1 parent 746edb2 commit 8bcf9a6

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.github/workflows/clippy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
]
1919

2020
steps:
21-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v4
2222

2323
- uses: actions-rs/toolchain@v1
2424
with:
@@ -28,7 +28,7 @@ jobs:
2828
components: clippy
2929

3030
- name: Cache .cargo and target
31-
uses: actions/cache@v2
31+
uses: actions/cache@v4
3232
with:
3333
path: |
3434
~/.cargo

.github/workflows/fmt.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v2
22+
uses: actions/checkout@v4
2323

2424
- uses: actions-rs/toolchain@v1
2525
with:
@@ -29,7 +29,7 @@ jobs:
2929
components: rustfmt
3030

3131
- name: Cache .cargo and target
32-
uses: actions/cache@v2
32+
uses: actions/cache@v4
3333
with:
3434
path: |
3535
~/.cargo

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
runs-on: ubuntu-latest
3939
steps:
4040
- name: Checkout code
41-
uses: actions/checkout@v2
41+
uses: actions/checkout@v4
4242

4343
- name: Setup Rust
4444
uses: actions-rs/toolchain@v1
@@ -49,7 +49,7 @@ jobs:
4949

5050
- name: Install `cargo-edit`
5151
run: cargo install cargo-edit
52-
52+
5353
- id: cargo-set-version
5454
name: Set Version
5555
run: cargo set-version --bump ${{ inputs.version }}

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v2
22+
uses: actions/checkout@v4
2323

2424
- uses: actions-rs/toolchain@v1
2525
with:
@@ -28,7 +28,7 @@ jobs:
2828
override: true
2929

3030
- name: Cache .cargo and target
31-
uses: actions/cache@v2
31+
uses: actions/cache@v4
3232
with:
3333
path: |
3434
~/.cargo

src/utils/hex.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ impl<'a> HexSlice<'a> {
1111
}
1212
}
1313

14-
impl<'a> Display for HexSlice<'a> {
14+
impl Display for HexSlice<'_> {
1515
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1616
for (index, byte) in self.0.iter().enumerate() {
1717
if index > 0 {

0 commit comments

Comments
 (0)