Skip to content

Update deploy-subgraph.yaml #3016

Update deploy-subgraph.yaml

Update deploy-subgraph.yaml #3016

Workflow file for this run

name: Subgraph unit tests
on: [push]
concurrency:
group: ${{ github.ref }}-subgraph
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4
- uses: DeterminateSystems/magic-nix-cache-action@v2
- name: Build subgraph
run: nix develop -c subgraph-build
- name: Matchstick tests
run: nix develop -c subgraph-test