Skip to content

Expose elements dependency #36

Expose elements dependency

Expose elements dependency #36

Workflow file for this run

name: CI
on:
pull_request: # Need to run on pull-requests, otherwise PRs from forks don't run
push:
branches:
- master
jobs:
static_analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: Swatinem/[email protected]
- uses: dprint/[email protected]
- run: cargo clippy --workspace --all-targets -- -D warnings
msrv:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Install Rust
uses: actions-rs/[email protected]
with:
toolchain: 1.40.0 # MSRV
override: true
profile: minimal
- uses: Swatinem/[email protected]
- run: cargo build
test:
strategy:
matrix:
rust: [ stable, nightly ]
os: [ ubuntu-latest, macos-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/[email protected]
- name: Install Rust ${{ matrix.rust }}
uses: actions-rs/[email protected]
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- uses: Swatinem/[email protected]
- run: brew install automake
if: matrix.os == 'macos-latest'
- run: cargo test