Skip to content

Make from_items public, able to bypass YAML parsing (#642) #1058

Make from_items public, able to bypass YAML parsing (#642)

Make from_items public, able to bypass YAML parsing (#642) #1058

Workflow file for this run

name: CI
on:
push:
branches:
- 'develop'
- 'releases/*'
pull_request:
branches:
- 'develop'
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v18
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Caching cargo
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-nix-rustc-v1-1.55.0-${{ hashFiles('Cargo.lock') }}
restore-keys: |
${{ runner.os }}-nix-rustc-v1-1.55.0-
- run: nix develop -c bash scripts/build.sh -ad
- run: nix develop -c cargo test
cargo-deny:
runs-on: ubuntu-20.04
strategy:
matrix:
checks:
- bans licenses sources
steps:
- uses: actions/checkout@v2
- uses: EmbarkStudios/cargo-deny-action@v1
with:
command: check ${{ matrix.checks }}
format:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Check Rustfmt
run: cargo fmt -- --check
spell-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: crate-ci/typos@master