Skip to content

Commit 5253b2b

Browse files
committed
Update dependencies
Also, switch the prebuilt x86_64 Linux binaries to use musl. We indirectly use NSS glibc functions, resulting in the statically-linked still having external dependencies. This can cause obscure crashes when the glibc version differs from what was used during compilation. Signed-off-by: Andrew Gunnerson <[email protected]>
1 parent 832b73f commit 5253b2b

File tree

8 files changed

+516
-453
lines changed

8 files changed

+516
-453
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
matrix:
2121
artifact:
2222
- os: ubuntu-latest
23-
name: x86_64-unknown-linux-gnu
23+
name: x86_64-unknown-linux-musl
2424
- os: windows-latest
2525
name: x86_64-pc-windows-gnu
2626
- os: macos-latest
@@ -36,7 +36,7 @@ jobs:
3636
android_api: '31'
3737
steps:
3838
- name: Check out repository
39-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
39+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4040
with:
4141
# For git describe
4242
fetch-depth: 0
@@ -51,6 +51,12 @@ jobs:
5151
--git https://github.com/chenxiaolong/cargo-android \
5252
--tag v0.1.3
5353
54+
- name: Install musl-gcc
55+
if: matrix.artifact.os == 'ubuntu-latest'
56+
uses: awalsh128/cache-apt-pkgs-action@v1
57+
with:
58+
packages: musl-tools
59+
5460
- name: Get version
5561
id: get_version
5662
shell: bash
@@ -68,7 +74,7 @@ jobs:
6874
done
6975
7076
- name: Cache Rust dependencies
71-
uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
77+
uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1
7278

7379
- name: Clippy
7480
shell: bash

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
echo "version=${version}" >> "${GITHUB_OUTPUT}"
2424
2525
- name: Check out repository
26-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
26+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2727

2828
- name: Create release
29-
uses: softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda # v2.2.1
29+
uses: softprops/action-gh-release@6da8fa9354ddfdc4aeace5fc48d7f679b5214090 # v2.4.1
3030
with:
3131
tag_name: v${{ steps.get_version.outputs.version }}
3232
name: Version ${{ steps.get_version.outputs.version }}

0 commit comments

Comments
 (0)