From 522a76732212fa93c9c263ad8ed136d2feeba714 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20=C5=A0?= Date: Fri, 29 Mar 2024 23:46:29 +0100 Subject: [PATCH 1/2] Disable custom RUSTFLAGS added by toolchain action --- .github/workflows/native.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/native.yaml b/.github/workflows/native.yaml index 69b6c0e3..03bf7770 100644 --- a/.github/workflows/native.yaml +++ b/.github/workflows/native.yaml @@ -49,6 +49,7 @@ jobs: toolchain: stable components: clippy cache: false + rustflags: "" - name: Configure cache uses: Swatinem/rust-cache@v2 @@ -80,6 +81,7 @@ jobs: toolchain: nightly components: rustfmt cache: false + rustflags: "" - name: Configure cache uses: Swatinem/rust-cache@v2 @@ -138,6 +140,7 @@ jobs: toolchain: stable target: ${{ matrix.target }} cache: false + rustflags: "" - name: Configure cache uses: Swatinem/rust-cache@v2 @@ -154,7 +157,7 @@ jobs: run: | # Use cross 0.2.4 for now because newer versions require too new glibc versions # In the future, we should update cross and configure zig to link to older glibc - cargo install cross --git https://github.com/cross-rs/cross --rev 4645d937bdae6952d9df38eff3ecb91fd719c3bd + cargo install cross --git https://github.com/cross-rs/cross.git --rev 4645d937bdae6952d9df38eff3ecb91fd719c3bd - name: Install Cargo DEB (Linux) if: matrix.os == 'ubuntu-latest' From bafbe80668295dfb8653814fc141b571f10d67c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20=C5=A0?= Date: Sat, 30 Mar 2024 11:26:44 +0100 Subject: [PATCH 2/2] Switch extension actions to Node.js 20 --- .github/workflows/extension.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/extension.yaml b/.github/workflows/extension.yaml index dac873d2..ce59472e 100644 --- a/.github/workflows/extension.yaml +++ b/.github/workflows/extension.yaml @@ -41,7 +41,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 - name: Install dependencies run: yarn install --frozen-lockfile @@ -70,10 +70,10 @@ jobs: - name: Install Node.js uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 - name: Install dependencies - run: yarn install + run: yarn install --frozen-lockfile - name: Set the version run: | @@ -89,7 +89,7 @@ jobs: - name: Upload artifacts if: success() || failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: extension/dist/*.zip