Skip to content

Commit 4969707

Browse files
author
Ben Leadbetter
committed
feat: adds github action
1 parent ae52165 commit 4969707

File tree

5 files changed

+17
-6
lines changed

5 files changed

+17
-6
lines changed

.github/workflows/rust.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,23 @@ env:
1111

1212
jobs:
1313
build:
14-
1514
runs-on: ${{ matrix.os }}
1615
strategy:
1716
matrix:
1817
os: [ubuntu-latest, macos-latest, windows-latest]
19-
2018
steps:
2119
- uses: actions/checkout@v4
2220
- name: Build
2321
run: cargo build --verbose --all-features
2422
- name: Run tests
2523
run: cargo test --verbose --all-features
24+
25+
deny-check:
26+
name: cargo-deny check
27+
runs-on: ubuntu-24.04
28+
steps:
29+
- uses: actions/checkout@v4
30+
- uses: EmbarkStudios/cargo-deny-action@v1
31+
with:
32+
command: check all
33+
manifest-path: midi2/Cargo.toml

deny.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[licenses]
2-
allow = ["MIT", "Apache-2.0", "Unicode-DFS-2016"]
2+
allow = ["MIT", "Apache-2.0", "Unicode-3.0"]
33

44
[licenses.private]
55
ignore = true

examples/handling_messages/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[package]
2+
edition = "2021"
23
name = "handling_messages"
34
publish = false
4-
edition = "2021"
5+
version = "0.0.0"
56

67
[dependencies]
78
midi2 = { path = "../../midi2", default-features = false, features = [

examples/no_std_dynamic_message_generator/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[package]
2+
edition = "2021"
23
name = "no_std_dynamic_message_generator"
34
publish = false
4-
edition = "2021"
5+
version = "0.0.0"
56

67
[dependencies]
78
midi2 = { path = "../../midi2", default-features = false, features = [

fuzz/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[package]
2+
edition = "2021"
23
name = "midi2-fuzz"
34
publish = false
4-
edition = "2021"
5+
version = "0.0.0"
56

67
[package.metadata]
78
cargo-fuzz = true

0 commit comments

Comments
 (0)