[chore] ci: removed scheduled actions
This commit is contained in:
parent
520c0dd2f0
commit
1fa9707042
1 changed files with 0 additions and 16 deletions
16
.github/workflows/check.yml
vendored
16
.github/workflows/check.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue