From 798c123e23481c0181f90462b66328349ce7395d Mon Sep 17 00:00:00 2001 From: NanezX Date: Tue, 21 Nov 2023 20:07:31 -0400 Subject: [PATCH] update workflow sg --- .github/workflows/subgraph.yaml | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/.github/workflows/subgraph.yaml b/.github/workflows/subgraph.yaml index bb6f2fb99..c238404ff 100644 --- a/.github/workflows/subgraph.yaml +++ b/.github/workflows/subgraph.yaml @@ -21,29 +21,10 @@ jobs: - name: Forge shallow install run: forge install --shallow - - name: Install rustup stable - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - - - name: Initialize setup - working-directory: ./subgraph - run: nix run .#init-setup - - name: install npm dependencies working-directory: ./subgraph run: npm install - - name: Build the subgraph + - name: Initialize and build setup working-directory: ./subgraph - run: cargo run build -d - - tests: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - name: Run tests - working-directory: ./subgraph - run: cargo test + run: nix run .#init-setup