Skip to content

Merge pull request #12 from paolobarbolini/spdx #42

Merge pull request #12 from paolobarbolini/spdx

Merge pull request #12 from paolobarbolini/spdx #42

Workflow file for this run

name: Build and Test
on:
pull_request:
push:
branches:
- master
env:
RUSTFLAGS: -Dwarnings
jobs:
test:
strategy:
matrix:
rust-version: ["stable", "1.46.0"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust-version }}
profile: minimal
override: true
components: rustfmt
- name: tests
run: cargo test
- name: tests (no_std)
run: cargo test --no-default-features
- name: fmt
run: cargo fmt -- --check