Bump syn from 2.0.60 to 2.0.61 #22
Workflow file for this run
This file contains hidden or 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: CI | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Check typos | |
uses: crate-ci/typos@master | |
- name: Validate commit messages | |
run: | | |
git show-ref | |
curl -sSfL https://github.com/convco/convco/releases/latest/download/convco-ubuntu.zip | zcat > convco | |
chmod +x convco | |
./convco check refs/remotes/origin/master..HEAD | |
rm convco | |
- name: Install Rust toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
targets: x86_64-unknown-linux-gnu, wasm32-unknown-unknown | |
components: rustfmt, clippy | |
- name: Install alsa and udev | |
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev | |
- name: Cache | |
uses: Swatinem/rust-cache@v2 | |
- name: Check code formatting | |
run: cargo fmt --all -- --check | |
- name: Check lints | |
run: cargo clippy --all-targets --all-features --target x86_64-unknown-linux-gnu -- -W clippy::pedantic -Dwarnings | |
- name: Check lints wasm | |
run: cargo clippy --all-targets --all-features --target wasm32-unknown-unknown -- -W clippy::pedantic -Dwarnings | |
- name: Run cargo-audit | |
uses: actions-rs/audit-check@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run msrv | |
shell: bash | |
run: | | |
cargo install cargo-msrv | |
cargo msrv --target x86_64-unknown-linux-gnu --path crates/core --output-format json verify | tail -n 1 | jq --exit-status '.success' | |
cargo msrv --target x86_64-unknown-linux-gnu --path crates/macros/form_proc --output-format json verify | tail -n 1 | jq --exit-status '.success' |