Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

submodule: bump hosts/substrate from f0e1ed0 to 0486283 #149

submodule: bump hosts/substrate from f0e1ed0 to 0486283

submodule: bump hosts/substrate from f0e1ed0 to 0486283 #149

Workflow file for this run

name: Nix Flake Integration
on:
push:
branches:
- main
pull_request:
jobs:
build:
strategy:
fail-fast: false
matrix:
package:
- gossamer-adapter
- kagome-adapter
- substrate-adapter
- gossamer-host
- kagome-host
- substrate-host
- hostapi-runtime
- tester-runtime
name: "[build] ${{ matrix.package }}"
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0
- uses: cachix/install-nix-action@v19
- uses: cachix/cachix-action@v12
with:
name: polkadot-tests
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build ${{ matrix.package }}
run: |
nix flake lock --update-input substrate-submodule --update-input kagome-submodule --update-input gossamer-submodule
nix build .#${{ matrix.package }}
check:
needs: [ build ]
name: "[test] flake check"
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0
- uses: cachix/install-nix-action@v19
- uses: cachix/cachix-action@v12
with:
name: polkadot-tests
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Run flake check
run: |
nix flake lock --update-input substrate-submodule --update-input kagome-submodule --update-input gossamer-submodule
nix flake check