Skip to content

Run clippy and build #27

Run clippy and build

Run clippy and build #27

Workflow file for this run

name: Run clippy and build
on:
push:
branches: [master, staging, trying]
pull_request:
branches: [master]
schedule:
- cron: "19 2 * * 4"
env:
CARGO_TERM_COLOR: always
jobs:
clippy:
name: Lints
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt, clippy
- run: cargo fmt --all -- --check
- run: cargo clippy
build:
name: Build
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
targets: x86_64-apple-darwin, aarch64-apple-darwin
- run: cargo install universal2
- run: sh ./BuildPackage.sh
- uses: actions/[email protected]
with:
name: macOS Universal Release
path: target/DiskDbg.pkg