Merge pull request #4195 from mempool/junderw/rusttoolchain

This commit is contained in:
wiz 2023-08-27 13:19:15 +09:00 committed by GitHub
commit c4f8afbaf7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 6 deletions

View file

@ -27,8 +27,17 @@ jobs:
node-version: ${{ matrix.node }} node-version: ${{ matrix.node }}
registry-url: "https://registry.npmjs.org" registry-url: "https://registry.npmjs.org"
- name: Install 1.63.x Rust toolchain - name: Read rust-toolchain file from repository
uses: dtolnay/rust-toolchain@1.63 id: gettoolchain
run: echo "::set-output name=toolchain::$(cat rust-toolchain)"
working-directory: ${{ matrix.node }}/${{ matrix.flavor }}
- name: Install ${{ steps.gettoolchain.outputs.toolchain }} Rust toolchain
# Latest version available on this commit is 1.71.1
# Commit date is Aug 3, 2023
uses: dtolnay/rust-toolchain@f361669954a8ecfc00a3443f35f9ac8e610ffc06
with:
toolchain: ${{ steps.gettoolchain.outputs.toolchain }}
- name: Install - name: Install
if: ${{ matrix.flavor == 'dev'}} if: ${{ matrix.flavor == 'dev'}}

View file

@ -85,7 +85,7 @@ Install dependencies with `npm` and build the backend:
``` ```
cd backend cd backend
npm install npm install --no-install-links # npm@9.4.2 and later can omit the --no-install-links
npm run build npm run build
``` ```

View file

@ -6,8 +6,6 @@ authors = ["mononaut"]
edition = "2021" edition = "2021"
publish = false publish = false
[workspace]
[lib] [lib]
crate-type = ["cdylib"] crate-type = ["cdylib"]

View file

@ -1 +1 @@
1.70 1.63