Skip to content

Merge pull request #67 from plule/vec_quat_copy #98

Merge pull request #67 from plule/vec_quat_copy

Merge pull request #67 from plule/vec_quat_copy #98

Workflow file for this run

name: Pull Request
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
matrix:
include:
- sdk-redist-ref: gemini
cargo-features: --no-default-features --features gemini
- sdk-redist-ref: orion
cargo-features: --no-default-features
name: check
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v1
- name: Check
run: cargo check ${{ matrix.cargo-features }}
- name: Check Examples
run: cargo check ${{ matrix.cargo-features }} --examples
- name: Check Tests
run: cargo check ${{ matrix.cargo-features }} --tests
- name: Doc
run: cargo doc
- name: Style
run: cargo fmt -- --check
- name: Clippy
run: cargo clippy -- -D warnings
dependabot:
name: 'Dependabot automerge'
needs: [build]
permissions:
pull-requests: write
contents: write
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'}} # Detect that the PR author is dependabot
steps:
- uses: fastify/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}