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

View File

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