Skip to content

feat: update thorvg to version 0.15.2 (#255) #661

feat: update thorvg to version 0.15.2 (#255)

feat: update thorvg to version 0.15.2 (#255) #661

Workflow file for this run

name: Check PR
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
check-pr:
if: github.head_ref != 'release'
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v4
- name: Setup Rust
uses: ningenMe/setup-rustup@v1.1.0
- name: Setup Conan
uses: turtlebrowser/get-conan@main
- name: Build
run: |
cargo build --manifest-path=./dotlottie-rs/Cargo.toml --release
cargo build --manifest-path=./dotlottie-ffi/Cargo.toml --release
- name: Test
run: |
cargo test --manifest-path=./dotlottie-rs/Cargo.toml --release -- --test-threads=1
cargo test --manifest-path=./dotlottie-ffi/Cargo.toml --release -- --test-threads=1
- name: Lint
run: |
cargo clippy --manifest-path=./dotlottie-rs/Cargo.toml --all-targets --all-features -- -D clippy::print_stdout
cargo clippy --manifest-path=./dotlottie-ffi/Cargo.toml --all-targets --all-features -- -D clippy::print_stdout
env:
RUSTFLAGS: "-Dwarnings"