From 72c9a04d42e673c67a987379e7f5b1fd0c6bb6d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophane=20Hufschmitt?= Date: Wed, 5 Jun 2024 11:19:06 +0200 Subject: [PATCH] fixup! fixup! fixup! Add a CI check for the CI source files --- .../check-up-to-date-action-files.yml | 20 ------------------- .../check-up-to-date-generated-files.yml | 2 +- 2 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 .github/workflows/check-up-to-date-action-files.yml diff --git a/.github/workflows/check-up-to-date-action-files.yml b/.github/workflows/check-up-to-date-action-files.yml deleted file mode 100644 index 8146b31..0000000 --- a/.github/workflows/check-up-to-date-action-files.yml +++ /dev/null @@ -1,20 +0,0 @@ -jobs: - check-up-to-date-action-files: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Install Nix - uses: cachix/install-nix-action@v26 - with: - extra_nix_config: accept-flake-config = true - - uses: cachix/cachix-action@v14 - with: - authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} - name: nickel-schemastore - - name: Check that the generated action files match the Nickel source - run: |- - nix run .#regenerate-files -L - git diff --exit-code -on: - push: {} diff --git a/.github/workflows/check-up-to-date-generated-files.yml b/.github/workflows/check-up-to-date-generated-files.yml index 4260b8a..42c81ef 100644 --- a/.github/workflows/check-up-to-date-generated-files.yml +++ b/.github/workflows/check-up-to-date-generated-files.yml @@ -15,6 +15,6 @@ jobs: - name: Check that the file generated by Organist are up-to-date run: |- nix run .#regenerate-files -L - git diff --exit-code + git diff --exit-code && echo "All files up-to-date ✅" on: push: {}