Add nested-values
feature (#14)
#9
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
# The file is the workflow for rustfmt | |
# | |
# It runs `cargo fmt --check` | |
# | |
# It will fail if there are formatting problems. | |
# | |
# Mostly copied from slog-rs/slog | |
on: [push, pull_request] | |
name: rustfmt | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
rustfmt: | |
# Only run on PRs if the source branch is on someone else's repo | |
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
rust: | |
- stable | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: ${{ matrix.rust }} | |
override: true | |
components: rustfmt | |
- shell: bash | |
run: | | |
cargo fmt -- --check |