Skip to content

Commit

Permalink
update workflow sg
Browse files Browse the repository at this point in the history
  • Loading branch information
NanezX committed Nov 22, 2023
1 parent 2c54603 commit 798c123
Showing 1 changed file with 2 additions and 21 deletions.
23 changes: 2 additions & 21 deletions .github/workflows/subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 798c123

Please sign in to comment.