Skip to content

Open/short detection #44

Open/short detection

Open/short detection #44

Workflow file for this run

name: build
on:
- push
- pull_request
env:
CARGO_TERM_COLOR: always
jobs:
rust:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
id: changes
with:
filters: |
rust:
- '**.rs'
- 'Cargo.lock'
- '.github/workflows/**'
- if: steps.changes.outputs.rust == 'true'
run: cargo build
rustdoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
id: changes
with:
filters: |
rust:
- '**.rs'
- 'Cargo.lock'
- '.github/workflows/**'
- if: steps.changes.outputs.rust == 'true'
run: cargo doc