Skip to content

Commit b1dad1b

Browse files
authored
deps: update some packages also use mise (rust 1.81 and node 22) (#316)
* update dependencies and versions * update dependencies and versions * update dependencies and versions * update dependencies and versions * update dependencies and versions * update dependencies and versions * update dependencies and versions * update dependencies and versions * chore: bump version * chore: bump version
1 parent 32ef0bf commit b1dad1b

File tree

23 files changed

+1458
-1493
lines changed

23 files changed

+1458
-1493
lines changed

.github/workflows/ci.yml

+6-17
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,19 @@ jobs:
2525
uses: actions/checkout@v4
2626

2727
- name: Install pnpm
28-
uses: pnpm/action-setup@v3
28+
uses: pnpm/action-setup@v4
2929
with:
30-
version: 8.15.6
30+
version: 9
31+
run_install: |
32+
- recursive: true
33+
args: [--frozen-lockfile]
3134
3235
- name: Install Node.js
3336
uses: actions/setup-node@v4
3437
with:
35-
node-version: "21.7.1"
38+
node-version: "22"
3639
cache: "pnpm"
3740

38-
- name: Install pnpm dependencies
39-
run: pnpm install --no-frozen-lockfile
40-
4141
- name: Perform linting
4242
run: pnpm lint:front
4343

@@ -76,17 +76,6 @@ jobs:
7676
- name: Install Rust stable
7777
uses: dtolnay/rust-toolchain@stable
7878

79-
- name: Install Node.js
80-
uses: actions/setup-node@v4
81-
with:
82-
node-version: "21.7.1"
83-
84-
- name: Install pnpm
85-
uses: pnpm/action-setup@v3
86-
with:
87-
version: 8.15.6
88-
run_install: false
89-
9079
- name: Run Clippy
9180
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
9281

.github/workflows/main.yml

+28-20
Original file line numberDiff line numberDiff line change
@@ -72,16 +72,21 @@ jobs:
7272
uses: swatinem/rust-cache@v2
7373

7474
- name: Install pnpm
75-
uses: pnpm/action-setup@v3
75+
uses: pnpm/action-setup@v4
7676
with:
77-
version: 9.1.2
77+
version: 9
78+
run_install: |
79+
- recursive: true
80+
args: [--frozen-lockfile]
7881
79-
- name: Sync node version and setup cache
82+
83+
- name: Install Node.js
8084
uses: actions/setup-node@v4
8185
with:
82-
node-version: "lts/*"
86+
node-version: "22"
8387
cache: "pnpm"
8488

89+
8590
- name: Cache pnpm modules
8691
uses: actions/cache@v4
8792
with:
@@ -92,9 +97,6 @@ jobs:
9297
restore-keys: |
9398
${{ runner.OS }}-pnpm-${{ runner.ARCH }}-
9499
95-
- name: Install dependencies
96-
run: pnpm install --no-frozen-lockfile
97-
98100
- name: Set up Visual Studio shell
99101
if: matrix.os == 'windows-latest' && matrix.arch == 'arm64'
100102
uses: TheMrMilchmann/setup-msvc-dev@v3
@@ -147,20 +149,25 @@ jobs:
147149
arch: arm64
148150
runner: ubicloud-standard-4-arm
149151
rust_target: aarch64-unknown-linux-gnu
152+
os_name: linux
150153
- os: ubuntu-latest
151154
arch: amd64
152155
rust_target: x86_64-unknown-linux-gnu
156+
os_name: linux
153157
- os: macos-latest
154158
arch: universal
155159
rust_target: universal-apple-darwin
160+
os_name: macos
156161
- os: windows-latest
157162
arch: x86
158163
rust_target: i686-pc-windows-msvc
159164
msvc_arch: x86
165+
os_name: windows
160166
- os: windows-latest
161167
arch: x86_64
162168
rust_target: x86_64-pc-windows-msvc
163169
msvc_arch: x64
170+
os_name: windows
164171

165172
runs-on: ${{ matrix.runner || matrix.os }}
166173

@@ -178,15 +185,19 @@ jobs:
178185
- name: Cache Rust
179186
uses: swatinem/rust-cache@v2
180187

188+
181189
- name: Install pnpm
182-
uses: pnpm/action-setup@v3
190+
uses: pnpm/action-setup@v4
183191
with:
184-
version: 9.1.2
192+
version: 9
193+
run_install: |
194+
- recursive: true
195+
args: [--frozen-lockfile]
185196
186-
- name: Sync node version and setup cache
197+
- name: Install Node.js
187198
uses: actions/setup-node@v4
188199
with:
189-
node-version: "lts/*"
200+
node-version: "22"
190201
cache: "pnpm"
191202

192203
- name: Cache pnpm modules
@@ -199,9 +210,6 @@ jobs:
199210
restore-keys: |
200211
${{ runner.OS }}-pnpm-${{ runner.ARCH }}-
201212
202-
- name: Install dependencies
203-
run: pnpm install --no-frozen-lockfile
204-
205213
- name: Setup platform-specific dependencies
206214
if: matrix.os == 'ubuntu-latest'
207215
run: |
@@ -263,13 +271,13 @@ jobs:
263271
mv ./target/release/kftui ./target/release/kftui_macos_universal
264272
gh release upload ${{ github.ref_name }} ./target/release/kftui_macos_universal --clobber
265273
elif [ "${{ matrix.os }}" == "windows-latest" ]; then
266-
mv ./target/${{ matrix.rust_target }}/release/kftui.exe ./target/release/kftui_${{ matrix.arch }}.exe
267-
chmod +x ./target/release/kftui_${{ matrix.arch }}.exe
268-
gh release upload ${{ github.ref_name }} ./target/release/kftui_${{ matrix.arch }}.exe --clobber
274+
mv ./target/${{ matrix.rust_target }}/release/kftui.exe ./target/release/kftui_${{ matrix.os_name }}_${{ matrix.arch }}.exe
275+
chmod +x ./target/release/kftui_${{ matrix.os_name }}_${{ matrix.arch }}.exe
276+
gh release upload ${{ github.ref_name }} ./target/release/kftui_${{ matrix.os_name }}_${{ matrix.arch }}.exe
269277
else
270-
mv ./target/${{ matrix.rust_target }}/release/kftui ./target/release/kftui_${{ matrix.arch }}
271-
chmod +x ./target/release/kftui_${{ matrix.arch }}
272-
gh release upload ${{ github.ref_name }} ./target/release/kftui_${{ matrix.arch }} --clobber
278+
mv ./target/${{ matrix.rust_target }}/release/kftui ./target/release/kftui_${{ matrix.os_name }}_${{ matrix.arch }}
279+
chmod +x ./target/release/kftui_${{ matrix.os_name }}_${{ matrix.arch }}
280+
gh release upload ${{ github.ref_name }} ./target/release/kftui_${{ matrix.os_name }}_${{ matrix.arch }}
273281
fi
274282
env:
275283
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pnpm-debug.log*
88
lerna-debug.log*
99

1010
node_modules
11-
*/dist/assets/*
11+
*/dist/assets/**
1212
*.local
1313

1414
# Editor directories and files

.mise.toml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[tools]
2+
node = "22"
3+
rust = "1.81"

0 commit comments

Comments
 (0)