build(deps): Bump syn from 2.0.70 to 2.0.71 #2228
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: test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: swatinem/rust-cache@v2 | |
- uses: homebrew/actions/setup-homebrew@master | |
- run: tools/setup.sh | |
- run: cargo build --all-features | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-14 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: swatinem/rust-cache@v2 | |
- uses: homebrew/actions/setup-homebrew@master | |
- run: tools/setup.sh | |
- run: cargo test --all-features | |
bench: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: swatinem/rust-cache@v2 | |
- uses: homebrew/actions/setup-homebrew@master | |
- run: tools/setup.sh | |
- run: cargo bench | |
dialect_build: | |
# TODO Remove this job when refactoring of dialect macros is done. | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: swatinem/rust-cache@v2 | |
- uses: homebrew/actions/setup-homebrew@master | |
- run: tools/setup.sh | |
- run: cargo install cargo-expand | |
- run: cd melior && cargo expand --all-features dialect::ods > ~/current.rs | |
- uses: actions/checkout@v4 | |
with: | |
ref: main | |
- run: cd melior && cargo expand --all-features dialect::ods > ~/main.rs | |
- run: diff ~/main.rs ~/current.rs |