diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/check.yml | 8 | ||||
| -rw-r--r-- | .github/workflows/lint.yml | 5 | ||||
| -rw-r--r-- | .github/workflows/prek.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/semifold-ci.yaml | 21 | ||||
| -rw-r--r-- | .github/workflows/test.yml | 1 |
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: |