Add several examples. Prepare 0.1.0-beta.1 #50
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / buildInvalid workflow file
|
||
with: | ||
components: rustfmt, clippy | ||
- name: Release build | ||
run: cargo build --release --all-features |