Skip to content

v0.2.0

v0.2.0 #146

Workflow file for this run

name: Continuous Integration
on:
pull_request:
branches: [ master ]
push:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
test-desktop:
name: Build and test
runs-on: ubuntu-latest
strategy:
matrix:
args: [
"--all-features",
]
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- uses: actions/[email protected]
with:
submodules: true
- uses: actions-rs/[email protected]
with:
profile: minimal
toolchain: nightly
override: true
- uses: Swatinem/[email protected]
with:
key: ${{ matrix.args }}
- run: cargo test --workspace ${{ matrix.args }}
check-clippy:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- uses: actions/[email protected]
with:
submodules: true
- uses: actions-rs/[email protected]
with:
profile: minimal
toolchain: nightly
override: true
components: clippy
- uses: Swatinem/[email protected]
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
rustfmt:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- uses: actions/[email protected]
with:
submodules: true
- uses: actions-rs/[email protected]
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt
- name: Check formatting
run: cargo fmt -- --check