mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-09 14:48:08 -05:00
.github/workflows: temporary workaround for nightly build
This commit is contained in:
6
.github/workflows/book.yml
vendored
6
.github/workflows/book.yml
vendored
@@ -23,14 +23,14 @@ jobs:
|
||||
- name: Install Rust (nightly)
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
toolchain: nightly-2024-02-01
|
||||
components: rustfmt, clippy
|
||||
override: true
|
||||
|
||||
- name: Install Rust (wasm32)
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
toolchain: nightly-2024-02-01
|
||||
target: wasm32-unknown-unknown
|
||||
override: true
|
||||
|
||||
@@ -56,7 +56,7 @@ jobs:
|
||||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git config --local user.name "bookworm"
|
||||
cd doc
|
||||
make github
|
||||
make CARGO="cargo +nightly-2024-02-01" github
|
||||
git checkout gh-pages
|
||||
|
||||
- name: Push changes
|
||||
|
||||
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
@@ -13,11 +13,11 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
toolchain: nightly-2024-02-01
|
||||
override: true
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
toolchain: nightly-2024-02-01
|
||||
target: wasm32-unknown-unknown
|
||||
override: true
|
||||
|
||||
@@ -30,11 +30,11 @@ jobs:
|
||||
|
||||
- name: Run test units
|
||||
run: |
|
||||
make test
|
||||
make CARGO="cargo +nightly-2024-02-01" test
|
||||
|
||||
- name: Compile all bins
|
||||
run: |
|
||||
make
|
||||
make CARGO="cargo +nightly-2024-02-01"
|
||||
|
||||
feature-powerset:
|
||||
name: Test crate feature powerset on ${{ matrix.os }}
|
||||
@@ -47,11 +47,11 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
toolchain: nightly-2024-02-01
|
||||
override: true
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
toolchain: nightly-2024-02-01
|
||||
target: wasm32-unknown-unknown
|
||||
override: true
|
||||
- uses: taiki-e/install-action@cargo-hack
|
||||
@@ -64,7 +64,7 @@ jobs:
|
||||
|
||||
- name: Run feature powerset builds
|
||||
run: |
|
||||
make check
|
||||
make CARGO="cargo +nightly-2024-02-01" check
|
||||
|
||||
fmt:
|
||||
name: rustfmt
|
||||
@@ -74,8 +74,8 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
toolchain: nightly-2024-02-01
|
||||
components: rustfmt
|
||||
override: true
|
||||
- run: |
|
||||
cargo fmt -- --check
|
||||
cargo +nightly-2024-02-01 fmt -- --check
|
||||
|
||||
Reference in New Issue
Block a user