Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
JuaniRios authored Feb 20, 2024
1 parent 6632fe9 commit 80d54b0
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,42 @@ on:

env:
CARGO_TERM_COLOR: always
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"

jobs:
build:

Fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: fmt check
run: cargo +nightly fmt --all --check

Release Build:
runs-on: ubuntu-latest
steps:
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- uses: actions/checkout@v3
- name: Build
run: cargo build --release --verbose

Pallet Tests:
runs-on: ubuntu-latest
steps:
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- uses: actions/checkout@v3
- name: Run Pallet Tests
run: cargo test --features runtime-benchmarks --verbose

Integration Tests:
runs-on: ubuntu-latest
steps:
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- uses: actions/checkout@v3
- name: STD Build
run: cargo build --release --features std,instant-node
- name: Run Integration Tests
run: cargo test -p integration-tests

0 comments on commit 80d54b0

Please sign in to comment.