Skip to content

build(deps): Bump syn from 2.0.74 to 2.0.75 #2233

build(deps): Bump syn from 2.0.74 to 2.0.75

build(deps): Bump syn from 2.0.74 to 2.0.75 #2233

Workflow file for this run

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