Skip to content

Commit

Permalink
Merge pull request #97 from l0b0/feat/sort-configuration
Browse files Browse the repository at this point in the history
feat: Sort configuration
  • Loading branch information
andir committed Oct 12, 2021
2 parents 7d817be + 051336b commit 15eb652
Show file tree
Hide file tree
Showing 2 changed files with 230 additions and 233 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ jobs:
- uses: actions/checkout@v2.3.4
- uses: cachix/install-nix-action@v13
- run: NIX_PATH=channel:nixos-unstable nix-shell --run "mkdir tmp && python generate.py -l DEBUG -c conf.yaml tmp"
verify-sorted:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: cachix/install-nix-action@v13
- run: NIX_PATH=channel:nixos-21.05 nix-shell --packages yq-go --run "diff conf.yaml <(yq eval 'sortKeys(..)' conf.yaml)"

0 comments on commit 15eb652

Please sign in to comment.