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

hack-ink/subalfred-check-features-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED

Please move to the new repository at https://github.com/hack-ink/cargo-featalign.

Introduction

This will check if your runtime features are enabled correctly.

Including:

  • runtime-benchmarks
  • std
  • try-runtime

Take a look at the real example here.

Usage

Take Polkadot code/repository as an example.

Check single runtime.

name: Checks
on:
  push:
    branches:
      - main
  pull_request:
    branches:
      - main
jobs:
  features-checks:
    name: Task check features
    runs-on: ubuntu-latest
    steps:
      - name: Check
        uses: actions/[email protected]
        with:
          path: runtime/polkadot

Check multiple runtimes at once.

name: Checks
on:
  push:
    branches:
      - main
  pull_request:
    branches:
      - main
jobs:
  features-checks:
    name: Task check features
    strategy:
      matrix:
        runtime: [runtime/polkadot, runtime/kusama, runtime/rococo]
    runs-on: ubuntu-latest
    steps:
      - name: Check ${{ matrix.runtime }}
        uses: hack-ink/[email protected]
        with:
          path: ${{ matrix.runtime }}

About

Use `subalfred check features` to check your runtime code.

Resources

License

Stars

Watchers

Forks

Packages

No packages published