Skip to content

Commit

Permalink
Use features check action (#198)
Browse files Browse the repository at this point in the history
Signed-off-by: Xavier Lau <[email protected]>

Signed-off-by: Xavier Lau <[email protected]>
  • Loading branch information
AurevoirXavier committed Jan 11, 2023
1 parent 7982fa7 commit 0fae7a1
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,25 +95,15 @@ jobs:
features-checks:
name: Task check features
if: github.event_name == 'push' || !github.event.pull_request.draft
strategy:
matrix:
runtime: [runtime/darwinia, runtime/crab, runtime/pangolin]
runs-on: ubuntu-latest
steps:
- name: Install Rust ${{ env.RUST_TOOLCHAIN }} toolchain
uses: actions-rs/toolchain@v1
- name: Check ${{ matrix.runtime }}
uses: hack-ink/[email protected]
with:
toolchain: ${{ env.RUST_TOOLCHAIN }}
default: true
- name: Install Subalfred
run: |
curl -L ${{ env.SUBALFRED_LINK }} | zstd -o subalfred -d
chmod u+x subalfred
sudo mv subalfred /usr/bin
sudo chmod u+x /usr/bin/subalfred
- name: Fetch latest code
uses: actions/checkout@v3
- name: Check
run: |
unset RUSTC_WRAPPER
subalfred check features runtime/darwinia
path: ${{ matrix.runtime }}

runtime-checks:
name: Task check runtime
Expand Down

0 comments on commit 0fae7a1

Please sign in to comment.