Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
fix(build): update `cross` GitHub Actions to `v1` and enable `strip`
Elijah Potter3f40d1ef8fd9
diff --git a/.github/workflows/build_harper_binaries.yml b/.github/workflows/build_harper_binaries.ymlindex 98d82dde3..675dcc792 100644--- a/.github/workflows/build_harper_binaries.yml+++ b/.github/workflows/build_harper_binaries.yml@@ -90,12 +90,13 @@ jobs:- name: Checkoutuses: actions/checkout@v4- name: Build binary- uses: houseabsolute/actions-rust-cross@v0+ uses: houseabsolute/actions-rust-cross@v1with:command: ${{ matrix.platform.command }}target: ${{ matrix.platform.target }}args: "--locked --release --bin ${{ matrix.platform.project }}"force-use-cross: true+ strip: true- name: Package as archiveshell: bashrun: |diff --git a/.github/workflows/package_vscode_plugin.yml b/.github/workflows/package_vscode_plugin.ymlindex 1b7e1560e..d4b1cacde 100644--- a/.github/workflows/package_vscode_plugin.yml+++ b/.github/workflows/package_vscode_plugin.yml@@ -36,11 +36,12 @@ jobs:with:node-version-file: ".node-version"- name: Build harper-ls- uses: houseabsolute/actions-rust-cross@v0+ uses: houseabsolute/actions-rust-cross@v1with:target: ${{ matrix.platform.rust_target }}args: "--locked --release --bin harper-ls"force-use-cross: true+ strip: true- name: Package extensionshell: bashrun: |diff --git a/.github/workflows/release_harper_binaries.yml b/.github/workflows/release_harper_binaries.ymlindex 0fc466e70..50242effa 100644--- a/.github/workflows/release_harper_binaries.yml+++ b/.github/workflows/release_harper_binaries.yml@@ -89,12 +89,13 @@ jobs:- name: Checkoutuses: actions/checkout@v4- name: Build binary- uses: houseabsolute/actions-rust-cross@v0+ uses: houseabsolute/actions-rust-cross@v1with:command: ${{ matrix.platform.command }}target: ${{ matrix.platform.target }}args: "--locked --release --bin ${{ matrix.platform.project }}"force-use-cross: true+ strip: true- name: Package as archiveshell: bashrun: |diff --git a/.github/workflows/release_vscode_plugin.yml b/.github/workflows/release_vscode_plugin.ymlindex be2ecdc52..39fa34ec0 100644--- a/.github/workflows/release_vscode_plugin.yml+++ b/.github/workflows/release_vscode_plugin.yml@@ -35,11 +35,12 @@ jobs:with:node-version-file: ".node-version"- name: Build harper-ls- uses: houseabsolute/actions-rust-cross@v0+ uses: houseabsolute/actions-rust-cross@v1with:target: ${{ matrix.platform.rust_target }}args: "--locked --release --bin harper-ls"force-use-cross: true+ strip: true- name: Package extensionid: package_extensionshell: bash