Skip to content

derive: use syn@2

derive: use syn@2 #8

Workflow file for this run

name: ci
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: 00 4 * * *
jobs:
build:
strategy:
fail-fast: false
matrix:
rust:
# https://github.com/unicode-rs/unicode-width/commit/afab363383557c39942706c9441a5670e321b4a0
# added a call to `wrapping_add_signed`, added in 1.66.0.
- 1.66.0
- stable
- beta
- nightly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
components: clippy,rustfmt
toolchain: ${{ matrix.rust }}
- uses: Swatinem/rust-cache@v2
- uses: taiki-e/install-action@v2
with:
tool: cargo-hack,taplo-cli
- run: taplo fmt --check
- run: cargo fmt --all -- --check
- run: cargo hack clippy --all-targets --feature-powerset --workspace -- --deny warnings --allow dead_code # TODO: remove?
- run: cargo hack test --all-targets --feature-powerset --workspace