Expose elements dependency #36
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |