mirror of
https://github.com/mempool/mempool.git
synced 2025-02-24 06:47:52 +01:00
Merge pull request #4195 from mempool/junderw/rusttoolchain
This commit is contained in:
commit
c4f8afbaf7
4 changed files with 13 additions and 6 deletions
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
|
@ -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'}}
|
||||||
|
|
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -6,8 +6,6 @@ authors = ["mononaut"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[workspace]
|
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
crate-type = ["cdylib"]
|
crate-type = ["cdylib"]
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
1.70
|
1.63
|
||||||
|
|
Loading…
Add table
Reference in a new issue