aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
author苏向夜 <fu050409@163.com>2026-01-18 15:20:59 +0800
committer苏向夜 <fu050409@163.com>2026-01-18 15:20:59 +0800
commit9479c1663a418973a9555d83d2bda96dc666d919 (patch)
tree4359cb67496d7e3f34b69aa8d45ac45f622cb0a7 /.github/workflows
parent5d403b86833c23ff7974daa829a9cbb2f837f4ec (diff)
downloadDropOut-9479c1663a418973a9555d83d2bda96dc666d919.tar.gz
DropOut-9479c1663a418973a9555d83d2bda96dc666d919.zip
chore(ci): bump versions of actions
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: |