Skip to content

Add several examples. Prepare 0.1.0-beta.1 #50

Add several examples. Prepare 0.1.0-beta.1

Add several examples. Prepare 0.1.0-beta.1 #50

Workflow file for this run

name: build
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: "0 0 * * *"
jobs:
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Stable with rustfmt and clippy
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: giraffate/clippy-action@v1
with:
reporter: 'github-pr-review'
github_token: ${{ secrets.GITHUB_TOKEN }}
build:
name: Build with rust ${{matrix.rust}} on ${{matrix.os == 'ubuntu' && 'Linux' || matrix.os == 'macos' && 'macOS' || matrix.os == 'windows' && 'Windows' || '???'}}
runs-on: ${{matrix.os}}-latest
strategy:
fail-fast: false
matrix:
rust: [
"1.67.1", # MSRV
"stable",
"beta",
"nightly",
]
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Stable with rustfmt and clippy
uses: dtolnay/rust-toolchain@${{matrix.rust}}

Check failure on line 43 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / build

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 43, Col: 15): Unrecognized named-value: 'matrix'. Located at position 1 within expression: matrix.rust
with:
components: rustfmt, clippy
- name: Release build
run: cargo build --release --all-features