fix(gb-infra): Update Node workflow to run build step instead of tests
Some checks failed
GBCI / build (push) Failing after 5m54s
Some checks failed
GBCI / build (push) Failing after 5m54s
This commit is contained in:
parent
cc53c3620e
commit
82c8e6dcd3
1 changed files with 2 additions and 25 deletions
|
@ -21,31 +21,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run build
|
||||||
run: cargo test --all-features
|
run: cargo build --workspace --release --locked
|
||||||
|
|
||||||
- name: Cache cargo registry
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
~/.cargo/registry
|
|
||||||
~/.cargo/git
|
|
||||||
target
|
|
||||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-cargo-
|
|
||||||
|
|
||||||
- name: Build release binary
|
|
||||||
uses: actions-rs/cargo@v1
|
|
||||||
with:
|
|
||||||
command: build
|
|
||||||
args: --workspace --release --locked
|
|
||||||
|
|
||||||
# - name: Run tests
|
|
||||||
# uses: actions-rs/cargo@v1
|
|
||||||
# with:
|
|
||||||
# command: test
|
|
||||||
# args: --release
|
|
||||||
|
|
||||||
- name: Deploy binary
|
- name: Deploy binary
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Reference in a new issue