Skip to content

add backtrace feature #53

add backtrace feature

add backtrace feature #53

Workflow file for this run

name: Check and Test
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
toolchain: ["1.77", "nightly-2023-12-26"]
steps:
- uses: actions/checkout@v3
- name: Override Rust toolchain
run: rustup override set ${{ matrix.toolchain }}
- name: Add Rust components
run: rustup component add rustfmt clippy
- name: Format
run: cargo fmt --check
- name: Build
run: cargo build --all-targets ${{ matrix.toolchain.contains('nightly') && '--all-features' }}

Check failure on line 28 in .github/workflows/check-test.yaml

View workflow run for this annotation

GitHub Actions / Check and Test

Invalid workflow file

The workflow is not valid. .github/workflows/check-test.yaml (Line: 28, Col: 14): Unexpected symbol: '('. Located at position 26 within expression: matrix.toolchain.contains('nightly') && '--all-features' .github/workflows/check-test.yaml (Line: 30, Col: 14): Unexpected symbol: '('. Located at position 26 within expression: matrix.toolchain.contains('nightly') && '--all-features'
- name: Clippy
run: cargo clippy --all-targets ${{ matrix.toolchain.contains('nightly') && '--all-features' }}
- name: Run tests
run: cargo test --all-targets ${{ matrix.toolchain.contains('nightly') && '--all-features' }}