|
|
@ -1,10 +1,10 @@
|
|
|
|
on:
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
push:
|
|
|
|
branches: [master]
|
|
|
|
branches: [master]
|
|
|
|
pull_request:
|
|
|
|
pull_request:
|
|
|
|
branches: ["*"]
|
|
|
|
branches: ["*"]
|
|
|
|
|
|
|
|
|
|
|
|
name: Run Tests
|
|
|
|
name: ci
|
|
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
jobs:
|
|
|
|
test_macos:
|
|
|
|
test_macos:
|
|
|
@ -34,11 +34,11 @@ jobs:
|
|
|
|
toolchain: stable
|
|
|
|
toolchain: stable
|
|
|
|
override: true
|
|
|
|
override: true
|
|
|
|
- name: check
|
|
|
|
- name: check
|
|
|
|
run: cargo check
|
|
|
|
run: cargo check
|
|
|
|
- name: clippy
|
|
|
|
- name: clippy
|
|
|
|
run: cargo clippy
|
|
|
|
run: cargo clippy
|
|
|
|
- name: test
|
|
|
|
- name: test
|
|
|
|
run: cargo test
|
|
|
|
run: cargo test
|
|
|
|
- name: build
|
|
|
|
- name: build
|
|
|
|
run: cargo build --release
|
|
|
|
run: cargo build --release
|
|
|
|
|
|
|
|
|
|
|
@ -63,10 +63,10 @@ jobs:
|
|
|
|
path: target
|
|
|
|
path: target
|
|
|
|
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
|
|
|
|
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
|
|
|
|
- name: check
|
|
|
|
- name: check
|
|
|
|
run: cargo check
|
|
|
|
run: cargo check
|
|
|
|
- name: clippy
|
|
|
|
- name: clippy
|
|
|
|
run: cargo clippy
|
|
|
|
run: cargo clippy
|
|
|
|
- name: test
|
|
|
|
- name: test
|
|
|
|
run: cargo test
|
|
|
|
run: cargo test
|
|
|
|
- name: build
|
|
|
|
- name: build
|
|
|
|
run: cargo build --release
|
|
|
|
run: cargo build --release
|
|
|
|