Skip to content

Commit 7e8ccbd

Browse files
committed
chore(github): bump git-cliff action version
1 parent d49ace7 commit 7e8ccbd

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ name: Release
33
on:
44
push:
55
tags:
6-
- 'v[0-9]+.[0-9]+.[0-9]+'
6+
- "v[0-9]+.[0-9]+.[0-9]+"
77
workflow_dispatch:
88
inputs:
99
tag:
10-
description: 'Tag to release (e.g., v1.0.0)'
10+
description: "Tag to release (e.g., v1.0.0)"
1111
required: true
1212
type: string
1313

@@ -41,22 +41,22 @@ jobs:
4141
name: Verify version matches tag
4242
needs: setup
4343
runs-on: ubuntu-latest
44-
44+
4545
steps:
4646
- uses: actions/checkout@v4
4747
with:
4848
ref: ${{ needs.setup.outputs.ref }}
49-
49+
5050
- name: Verify Cargo.toml version matches tag
5151
run: |
5252
TAG_VERSION="${{ needs.setup.outputs.version }}"
5353
# Remove 'v' prefix if present
5454
TAG_VERSION="${TAG_VERSION#v}"
5555
CARGO_VERSION=$(grep "^version" Cargo.toml | head -1 | cut -d'"' -f2)
56-
56+
5757
echo "Tag version: $TAG_VERSION"
5858
echo "Cargo.toml version: $CARGO_VERSION"
59-
59+
6060
if [ "$TAG_VERSION" != "$CARGO_VERSION" ]; then
6161
echo "❌ Error: Tag version ($TAG_VERSION) doesn't match Cargo.toml version ($CARGO_VERSION)"
6262
echo "Please ensure the version in Cargo.toml matches the tag you're trying to release."
@@ -68,18 +68,18 @@ jobs:
6868
name: Run tests
6969
needs: [setup, verify-version]
7070
runs-on: ubuntu-latest
71-
71+
7272
steps:
7373
- uses: actions/checkout@v4
7474
with:
7575
ref: ${{ needs.setup.outputs.ref }}
76-
76+
7777
- name: Install Rust
7878
uses: dtolnay/rust-toolchain@stable
79-
79+
8080
- name: Run tests
8181
run: cargo test --all-features --verbose
82-
82+
8383
- name: Run clippy
8484
run: cargo clippy --all-features -- -D warnings
8585

@@ -162,11 +162,11 @@ jobs:
162162
- uses: actions/checkout@v4
163163
with:
164164
ref: ${{ needs.setup.outputs.ref }}
165-
fetch-depth: 0 # Fetch all history for git-cliff
165+
fetch-depth: 0 # Fetch all history for git-cliff
166166

167167
- name: Generate changelog
168168
id: git-cliff
169-
uses: orhun/git-cliff-action@v3
169+
uses: orhun/git-cliff-action@v4
170170
with:
171171
config: cliff.toml
172172
args: --current --strip all
@@ -269,7 +269,7 @@ jobs:
269269
runs-on: ubuntu-latest
270270
environment: release
271271
permissions:
272-
id-token: write # Required for OIDC token exchange with crates.io
272+
id-token: write # Required for OIDC token exchange with crates.io
273273

274274
steps:
275275
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)