Skip to content

Add the ability to consume the IconImage #9

Add the ability to consume the IconImage

Add the ability to consume the IconImage #9

Workflow file for this run

name: tests
on:
push:
paths-ignore:
- 'LICENSE'
- '**.md'
pull_request:
paths-ignore:
- 'LICENSE'
- '**.md'
jobs:
linters:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Install rustfmt and clippy
run: rustup component add rustfmt clippy
- name: Cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check
- name: Cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings
tests:
strategy:
matrix:
os: [ ubuntu-20.04, windows-2019, macos-10.15]
rust: [ stable ]
needs: [linters]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
toolchain: ${{ matrix.rust }}
args: --verbose