Bump actions-rust-lang/setup-rust-toolchain from 1.3.5 to 1.5.0 #307
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: Check examples | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
push: | |
branches: [main] | |
jobs: | |
check-examples: | |
name: Check examples | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rust-lang/[email protected] | |
- name: Test examples | |
env: | |
RUSTFLAGS: -A dead-code -A unused-variables | |
run: | | |
cd examples | |
cargo test |