Skip to content

Commit

Permalink
Fix steps order.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cerclique committed Jul 23, 2024
1 parent 198b350 commit 26b07eb
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ jobs:
name: Wirdigen CLI
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4

- name: Install stable toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt, clippy

- name: Checkout sources
uses: actions/checkout@v4

- name: Check formatting
uses: actions-rust-lang/rustfmt@v1
with:
Expand Down Expand Up @@ -43,20 +43,20 @@ jobs:
name: Wirdigen WASM
runs-on: ubuntu-latest
steps:
- name: Check formatting
uses: actions-rust-lang/rustfmt@v1
with:
manifest-path: './wasm/Cargo.toml'

- name: Checkout sources
uses: actions/checkout@v4

- name: Install stable toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1

- name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

- name: Checkout sources
uses: actions/checkout@v4

- name: Check formatting
uses: actions-rust-lang/rustfmt@v1
with:
manifest-path: './wasm/Cargo.toml'

- name: Build sources
run: wasm-pack build ./wasm -t nodejs --out-name wirdigen_wasm --target-dir target

Expand Down

0 comments on commit 26b07eb

Please sign in to comment.