aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2026-01-18 15:50:30 +0800
committerGitHub <noreply@github.com>2026-01-18 15:50:30 +0800
commit30a7da9eb1734e19bdb98083bdaae757e0ce9b3a (patch)
tree7aacc1b07d374b8efcd0150ee81116300df8ae39 /.github/workflows
parentd4ea239d4477e9427b52994ea25d54941dfdba3f (diff)
parent9479c1663a418973a9555d83d2bda96dc666d919 (diff)
downloadDropOut-30a7da9eb1734e19bdb98083bdaae757e0ce9b3a.tar.gz
DropOut-30a7da9eb1734e19bdb98083bdaae757e0ce9b3a.zip
Merge pull request #61 from fu050409/ci/bump
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/check.yml10
-rw-r--r--.github/workflows/lint.yml6
-rw-r--r--.github/workflows/prek.yml8
-rw-r--r--.github/workflows/test.yml17
4 files changed, 21 insertions, 20 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
index ba8ce54..773cc21 100644
--- a/.github/workflows/check.yml
+++ b/.github/workflows/check.yml
@@ -17,15 +17,16 @@ jobs:
contents: read
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v4
-
+ - name: Checkout
+ uses: actions/checkout@v6
+
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
- version: 9
+ version: latest
- name: Install Node.js
- uses: actions/setup-node@v4
+ uses: actions/setup-node@v6
with:
node-version: 22
cache: "pnpm"
@@ -42,4 +43,3 @@ jobs:
- run: pnpm format
working-directory: ui
-
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 5c4a69d..bfa9530 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -15,14 +15,14 @@ jobs:
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
-
+
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
- version: 9
+ version: latest
- name: Install Node.js
uses: actions/setup-node@v4
diff --git a/.github/workflows/prek.yml b/.github/workflows/prek.yml
index 8e43763..5362472 100644
--- a/.github/workflows/prek.yml
+++ b/.github/workflows/prek.yml
@@ -14,14 +14,14 @@ jobs:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout code
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
-
+
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
-
+
- name: Install system dependencies
if: runner.os == 'Linux'
run: |
@@ -34,7 +34,7 @@ jobs:
libayatana-appindicator3-dev \
librsvg2-dev \
pkg-config
-
+
- name: Run prek
id: prek
uses: j178/prek-action@v1
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 8bf6d2f..8c7c50c 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -1,4 +1,4 @@
-name: Test & Build
+name: Unit Test
on:
push:
@@ -40,7 +40,8 @@ jobs:
name: "macOS"
steps:
- - uses: actions/checkout@v4
+ - name: Checkout
+ uses: actions/checkout@v6
- name: Install Dependencies (Ubuntu)
if: runner.os == 'Linux' && !matrix.wayland
@@ -67,15 +68,15 @@ jobs:
- name: Install Node.js
if: github.event_name == 'workflow_dispatch'
- uses: actions/setup-node@v4
+ uses: actions/setup-node@v6
with:
node-version: 22
- name: Install pnpm
if: github.event_name == 'workflow_dispatch'
- uses: pnpm/action-setup@v2
+ uses: pnpm/action-setup@v4
with:
- version: 9
+ version: latest
- name: Install Frontend Dependencies
if: github.event_name == 'workflow_dispatch'
@@ -111,7 +112,7 @@ jobs:
- name: Upload Artifact (Linux)
if: runner.os == 'Linux' && github.event_name == 'workflow_dispatch'
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v6
with:
name: dropout-linux-${{ matrix.wayland && 'arch' || 'ubuntu' }}-${{ steps.slug.outputs.sha8 }}
path: |
@@ -122,7 +123,7 @@ jobs:
- name: Upload Artifact (Windows)
if: runner.os == 'Windows' && github.event_name == 'workflow_dispatch'
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v6
with:
name: dropout-windows-${{ steps.slug.outputs.sha8 }}
path: |
@@ -133,7 +134,7 @@ jobs:
- name: Upload Artifact (macOS)
if: runner.os == 'macOS' && github.event_name == 'workflow_dispatch'
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v6
with:
name: dropout-macos-${{ steps.slug.outputs.sha8 }}
path: |