From d0ead4286213fb79ab41a0c1609fd247d55f7ef1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Sun, 18 Aug 2024 12:58:26 +0200 Subject: [PATCH 1/2] [chore] ci: removed scheduled actions --- .github/workflows/check.yml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index dba6600..64dc4d3 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -6,9 +6,6 @@ on: - ./**.nix - ./flake.lock pull_request: - # scheduled runs are run on my own infrastructure - # schedule: - # - cron: 5 4 * * 5 # At 04:05 on Friday. jobs: check: @@ -23,21 +20,8 @@ jobs: run: | nix flake check --verbose --keep-going nix run nixpkgs#statix -- check . - lockfile: - runs-on: ubuntu-latest - needs: check - if: ${{ github.event_name == 'schedule' }} # only run when scheduled - steps: - - uses: actions/checkout@v4 - - uses: DeterminateSystems/nix-installer-action@v13 - with: - source-url: "https://install.lix.systems/lix/lix-installer-x86_64-linux" - - uses: DeterminateSystems/update-flake-lock@v23 - - name: Run `nix flake check` - run: nix flake check --verbose --keep-going build-docs: runs-on: ubuntu-latest - if: ${{ github.event_name != 'schedule' }} # only run when not scheduled steps: - uses: actions/checkout@v4 - uses: DeterminateSystems/magic-nix-cache-action@v7 -- 2.47.0 From 09f036b1ef60ac570cbe70a77e3abb798b5d8576 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Sun, 18 Aug 2024 13:02:18 +0200 Subject: [PATCH 2/2] [fix] ci: remove diagnostic endpoint Maybe it fixes the CI issues? --- .github/workflows/check.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 64dc4d3..5a558be 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -15,6 +15,7 @@ jobs: - uses: DeterminateSystems/nix-installer-action@v13 with: source-url: "https://install.lix.systems/lix/lix-installer-x86_64-linux" + diagnostic-endpoint: "" - uses: DeterminateSystems/magic-nix-cache-action@v7 - name: Run `nix flake check` run: | @@ -28,6 +29,7 @@ jobs: - uses: DeterminateSystems/nix-installer-action@v13 with: source-url: "https://install.lix.systems/lix/lix-installer-x86_64-linux" + diagnostic-endpoint: "" - name: Build documentation run: nix build .#docs --print-build-logs - name: Upload artifact -- 2.47.0