Skip to content

Commit

Permalink
refactor: github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Leadbetter authored and BenLeadbetter committed Feb 6, 2025
1 parent da49543 commit 8d7c599
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 25 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/rust.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Rust
name: ci

on:
push:
Expand All @@ -10,24 +10,32 @@ env:
CARGO_TERM_COLOR: always

jobs:
build:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose --all-features
- name: Run tests
run: cargo test --verbose --all-features

deny-check:
name: cargo-deny check
deny:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: EmbarkStudios/cargo-deny-action@v1
with:
command: check all
manifest-path: midi2/Cargo.toml

clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Clippy
run: rustup component add clippy
- name: Clippy version
run: cargo clippy --version
- name: Run Clippy
run: cargo clippy --all-features -- -D warnings
19 changes: 0 additions & 19 deletions .github/workflows/clippy.yml

This file was deleted.

0 comments on commit 8d7c599

Please sign in to comment.