Skip to content

fix gha

fix gha #46

Workflow file for this run

name: Rust test
on:
pull_request:
push:
branches:
- main
- stable
jobs:
check:
name: Cargo test
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout sources
uses: actions/[email protected]
with:
fetch-depth: 0
submodules: true
- name: Install Rust stable toolchain
uses: actions-rs/[email protected]
with:
profile: minimal
toolchain: stable
override: true
- name: Install cargo-nextest
uses: baptiste0928/cargo-install@v3
with:
crate: cargo-nextest
version: 0.9
- name: Rust Cache
uses: Swatinem/[email protected]
- name: cargo nextest
run: cargo nextest run
run: cargo nextest run --no-default-features

Check failure on line 45 in .github/workflows/rust-test.yml

View workflow run for this annotation

GitHub Actions / Rust test

Invalid workflow file

The workflow is not valid. .github/workflows/rust-test.yml (Line: 45, Col: 9): 'run' is already defined .github/workflows/rust-test.yml (Line: 46, Col: 9): 'run' is already defined
run: cargo nextest run --no-default-features --features sr25519