🐛 Refactoring actions

This commit is contained in:
Tw93
2025-08-29 18:05:52 +08:00
parent 3d60bd673d
commit 426ca447dd
2 changed files with 0 additions and 12 deletions

View File

@@ -10,9 +10,6 @@ on:
env: env:
NODE_VERSION: '22' NODE_VERSION: '22'
PNPM_VERSION: '10.15.0' PNPM_VERSION: '10.15.0'
UBUNTU_DEPS_VERSION: '1.1'
ACTIONS_CHECKOUT_VERSION: 'v4'
CACHE_VERSION: 'v4.2.0'
permissions: permissions:
actions: write actions: write
@@ -68,9 +65,6 @@ jobs:
uses: ./.github/actions/setup-env uses: ./.github/actions/setup-env
with: with:
mode: build mode: build
with:
node-version: ${{ env.NODE_VERSION }}
pnpm-version: ${{ env.PNPM_VERSION }}
- name: Check EditorConfig compliance - name: Check EditorConfig compliance
@@ -133,7 +127,6 @@ jobs:
uses: ./.github/actions/setup-env uses: ./.github/actions/setup-env
with: with:
mode: build mode: build
with:
- name: Build CLI - name: Build CLI
run: pnpm run cli:build run: pnpm run cli:build
@@ -170,7 +163,6 @@ jobs:
uses: ./.github/actions/setup-env uses: ./.github/actions/setup-env
with: with:
mode: build mode: build
with:
- name: Build CLI - name: Build CLI

View File

@@ -58,15 +58,12 @@ jobs:
- build: linux - build: linux
os: ubuntu-latest os: ubuntu-latest
rust: stable rust: stable
target: x86_64-unknown-linux-musl
- build: windows - build: windows
os: windows-latest os: windows-latest
rust: stable-x86_64-msvc rust: stable-x86_64-msvc
target: x86_64-pc-windows-msvc
- build: macos - build: macos
os: macos-latest os: macos-latest
rust: stable rust: stable
target: x86_64-apple-darwin
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
@@ -75,7 +72,6 @@ jobs:
uses: dtolnay/rust-toolchain@stable uses: dtolnay/rust-toolchain@stable
with: with:
toolchain: ${{ matrix.rust }} toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
- name: Setup Node.js Environment - name: Setup Node.js Environment
uses: ./.github/actions/setup-env uses: ./.github/actions/setup-env