Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
Add github test to check for uncommitted updates
Browse files Browse the repository at this point in the history
  • Loading branch information
shlevy committed Jan 14, 2022
1 parent 6aff97d commit 69cc367
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,16 @@ jobs:
- uses: actions/[email protected]
- uses: nixbuild/nix-quick-install-action@v9
- run: nix-build -A tests.nixpkgsFmt -A tests.purty -A tests.shellcheck -A tests.stylishHaskell --arg supportedSystems '[ builtins.currentSystem ]' --restrict-eval -I . --allowed-uris 'https://github.com/NixOS/nixpkgs https://github.com/input-output-hk https://github.com/NixOS/nixpkgs-channels' --option trusted-public-keys "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= iohk.cachix.org-1:DpRUyj7h7V830dp/i6Nti+NEO2/nhblbov/8MW7Rqoo= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" --option substituters "https://hydra.iohk.io https://iohk.cachix.org https://cache.nixos.org/"
check-for-updates:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/[email protected]
- uses: nixbuild/nix-quick-install-action@v9
- run: |
nix flake lock
nix-shell --command "cd plutus-playground-client && (update-client-deps || update-client-deps)" # Double-call to work around bug in spago2nix on first fetch
nix-shell --command "updateMaterialized"
git diff --exit-code

0 comments on commit 69cc367

Please sign in to comment.