aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
authorNtskwK <natsukawa247@outlook.com>2026-02-28 09:03:19 +0800
committerNtskwK <natsukawa247@outlook.com>2026-02-28 09:03:19 +0800
commitcc53b1cf260e1c67939e50608ef18764da616d55 (patch)
tree119109c62331d4d26612e2df7726cee82d1871f5 /.github
parentee37d044e473217daadd9ce26c7e2e2ad39a0490 (diff)
parent81a62402ef6f8900ff092366121a9b7a4263ba52 (diff)
downloadDropOut-cc53b1cf260e1c67939e50608ef18764da616d55.tar.gz
DropOut-cc53b1cf260e1c67939e50608ef18764da616d55.zip
Merge remote-tracking branch 'upstream/main'
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/check.yml8
-rw-r--r--.github/workflows/lint.yml5
-rw-r--r--.github/workflows/prek.yml4
-rw-r--r--.github/workflows/semifold-ci.yaml21
-rw-r--r--.github/workflows/test.yml1
5 files changed, 13 insertions, 26 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
index 3cbad39..e4630cd 100644
--- a/.github/workflows/check.yml
+++ b/.github/workflows/check.yml
@@ -32,11 +32,5 @@ jobs:
- run: pnpm install
- - run: pnpm check
- working-directory: packages/ui
-
- - run: pnpm lint
- working-directory: packages/ui
-
- - run: pnpm format
+ - run: pnpm biome ci
working-directory: packages/ui
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index d5bd131..0452d29 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -31,10 +31,7 @@ jobs:
- run: pnpm install
- - run: pnpm format
- working-directory: packages/ui
-
- - run: pnpm lint:fix
+ - run: pnpm lint --fix
working-directory: packages/ui
- name: Commit changes
diff --git a/.github/workflows/prek.yml b/.github/workflows/prek.yml
index 5362472..3785c62 100644
--- a/.github/workflows/prek.yml
+++ b/.github/workflows/prek.yml
@@ -8,6 +8,10 @@ on:
permissions:
contents: write
+env:
+ CARGO_TERM_COLOR: always
+ CURSEFORGE_API_KEY: ${{ secrets.CURSEFORGE_API_KEY }}
+
jobs:
prek:
runs-on: ubuntu-latest
diff --git a/.github/workflows/semifold-ci.yaml b/.github/workflows/semifold-ci.yaml
index 9a91518..e230e3a 100644
--- a/.github/workflows/semifold-ci.yaml
+++ b/.github/workflows/semifold-ci.yaml
@@ -6,6 +6,8 @@ on:
env:
CARGO_TERM_COLOR: always
CLICOLOR_FORCE: 1
+ CURSEFORGE_API_KEY: ${{ secrets.CURSEFORGE_API_KEY }}
+ AUR_SSH_KEY: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
permissions:
id-token: write
@@ -24,14 +26,8 @@ jobs:
name: "Linux x86_64 (GNU)"
target: "x86_64-unknown-linux-gnu"
args: "--target x86_64-unknown-linux-gnu"
- - platform: "ubuntu-latest"
- name: "Linux x86_64 (Musl)"
- target: "x86_64-unknown-linux-musl"
- args: "--target x86_64-unknown-linux-musl"
- install-musl: true
- pkg-config-allow-cross: true
- platform: "ubuntu-24.04-arm"
- name: "Linux arm64"
+ name: "Linux arm64 (GNU)"
target: "aarch64-unknown-linux-gnu"
args: "--target aarch64-unknown-linux-gnu"
# macOS
@@ -48,13 +44,8 @@ jobs:
name: "Windows x86_64 (MSVC)"
target: "x86_64-pc-windows-msvc"
args: "--target x86_64-pc-windows-msvc --bundles nsis"
- - platform: "windows-latest"
- name: "Windows x86_64 (GNU)"
- target: "x86_64-pc-windows-gnu"
- args: "--target x86_64-pc-windows-gnu --bundles nsis"
- rustflags: "-C link-arg=-lws2_32"
- platform: "windows-11-arm"
- name: "Windows arm64"
+ name: "Windows arm64 (MSVC)"
target: "aarch64-pc-windows-msvc"
args: "--target aarch64-pc-windows-msvc --bundles nsis"
@@ -112,9 +103,7 @@ jobs:
uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- RUSTFLAGS: ${{ matrix.rustflags || '' }}
CARGO_BUILD_TARGET: ${{ matrix.target }}
- PKG_CONFIG_ALLOW_CROSS: ${{ matrix.pkg-config-allow-cross && '1' || '' }}
with:
args: ${{ matrix.args }}
@@ -194,6 +183,8 @@ jobs:
node-version: 22
cache: "pnpm"
cache-dependency-path: "pnpm-lock.yaml"
+ - name: Install Makepkg
+ run: sudo apt-get update && sudo apt-get install -y makepkg pacman
- name: Install Node.js Dependencies
run: pnpm install
- name: Download build artifacts
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index b58d10e..c292997 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -15,6 +15,7 @@ permissions:
env:
CARGO_TERM_COLOR: always
+ CURSEFORGE_API_KEY: ${{ secrets.CURSEFORGE_API_KEY }}
jobs:
test: