Skip to content

Commit 4cd7373

Browse files
committed
ci: update configs
1 parent 43fad2c commit 4cd7373

File tree

3 files changed

+20
-21
lines changed

3 files changed

+20
-21
lines changed

.cliff.toml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,15 @@ footer = """"""
4747
conventional_commits = true
4848
# regex for parsing and grouping commits
4949
commit_parsers = [
50-
{ message = "^feat*", group = "<!-- 0 -->Features" },
51-
{ message = "^fix*", group = "<!-- 1 -->Bug fixes" },
52-
{ message = "^perf*", group = "<!-- 2 -->Performance" },
50+
{ message = "^feat", group = "<!-- 0 -->🚀 Features" },
51+
{ message = "^fix", group = "<!-- 1 -->🐛 Bug Fixes" },
52+
{ message = "^refactor", group = "<!-- 2 -->🚜 Refactor" },
53+
{ message = "^docs", group = "<!-- 3 -->📚 Documentation" },
54+
{ message = "^perf", group = "<!-- 4 -->⚡ Performance" },
55+
{ message = "^style", group = "<!-- 5 -->🎨 Styling" },
56+
{ message = "^test", group = "<!-- 6 -->🧪 Testing" },
57+
{ message = "^ci", group = "<!-- 7 -->⚙️ Miscellaneous Tasks" },
58+
{ message = ".*", group = "<!-- 10 -->💼 Other" },
5359
]
5460
# filter out the commits that are not matched by commit parsers
5561
filter_commits = true

.github/workflows/ci.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ jobs:
1616

1717
- uses: taiki-e/install-action@just
1818
- uses: taiki-e/install-action@dprint
19-
- uses: taiki-e/install-action@v2
20-
with:
21-
tool: typos-cli
19+
- uses: taiki-e/install-action@typos
2220

2321
- name: Ensure `fmt` has been run
2422
run: just fmt-check
@@ -50,10 +48,10 @@ jobs:
5048
include:
5149
- { build: linux-gnu, os: ubuntu-22.04, target: x86_64-unknown-linux-gnu }
5250
- { build: linux-musl, os: ubuntu-22.04, target: x86_64-unknown-linux-musl }
53-
- { build: win-gnu, os: windows-2022, target: x86_64-pc-windows-gnu }
54-
- { build: win-msvc, os: windows-2022, target: x86_64-pc-windows-msvc }
55-
- { build: win32-msvc, os: windows-2022, target: i686-pc-windows-msvc }
56-
- { build: macos, os: macos-12 , target: x86_64-apple-darwin }
51+
- { build: win-gnu, os: windows-2025, target: x86_64-pc-windows-gnu }
52+
- { build: win-msvc, os: windows-2025, target: x86_64-pc-windows-msvc }
53+
- { build: win32-msvc, os: windows-2025, target: i686-pc-windows-msvc }
54+
- { build: macos, os: macos-15 , target: x86_64-apple-darwin }
5755

5856
steps:
5957
- name: Checkout source code
@@ -76,10 +74,5 @@ jobs:
7674
sudo apt-get install -y --no-install-recommends \
7775
--allow-unauthenticated musl-tools
7876
79-
- name: Rust cache
80-
uses: Swatinem/rust-cache@v2
81-
with:
82-
key: ${{ matrix.os }}-${{ matrix.target }}
83-
8477
- name: Build
8578
run: cargo build --release --locked --target ${{ matrix.target }}

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ jobs:
3232
git checkout v${{ env.RELEASE_VERSION }}
3333
3434
- name: Generate a changelog
35-
uses: orhun/git-cliff-action@v3
35+
uses: orhun/git-cliff-action@v4
3636
id: git-cliff
3737
with:
38-
config: configs/cliff.toml
38+
config: .cliff.toml
3939
args: -vv --strip header --current
4040
env:
4141
OUTPUT: CHANGELOG.md.tmp
@@ -61,10 +61,10 @@ jobs:
6161
include:
6262
- { build: linux-gnu, os: ubuntu-22.04, target: x86_64-unknown-linux-gnu }
6363
- { build: linux-musl, os: ubuntu-22.04, target: x86_64-unknown-linux-musl }
64-
- { build: win-gnu, os: windows-2022, target: x86_64-pc-windows-gnu }
65-
- { build: win-msvc, os: windows-2022, target: x86_64-pc-windows-msvc }
66-
- { build: win32-msvc, os: windows-2022, target: i686-pc-windows-msvc }
67-
- { build: macos, os: macos-12 , target: x86_64-apple-darwin }
64+
- { build: win-gnu, os: windows-2025, target: x86_64-pc-windows-gnu }
65+
- { build: win-msvc, os: windows-2025, target: x86_64-pc-windows-msvc }
66+
- { build: win32-msvc, os: windows-2025, target: i686-pc-windows-msvc }
67+
- { build: macos, os: macos-15 , target: x86_64-apple-darwin }
6868

6969
steps:
7070
- name: Checkout

0 commit comments

Comments
 (0)