Skip to content

add GitHub Workflow for testing #1

add GitHub Workflow for testing

add GitHub Workflow for testing #1

Workflow file for this run

name: Test
on:
- push
- pull_request
jobs:
test:
name: Test suite
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.allow-errors }}
strategy:
fail-fast: false
matrix:
toolchain-version:
- stable
- beta
- nightly
allow-errors: [false]
include:
- toolchain-version: nightly
allow-errors: true
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain-version }}
components:
- clippy

Check failure on line 28 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 28, Col: 13): A sequence was not expected
- rustfmt
- run: cargo build -v --no-default-features
- run: cargo build -v
- run: cargo test -v
- run: cargo clippy -v