Skip to content

Commit

Permalink
[fix] ci: remove scheduled workflow
Browse files Browse the repository at this point in the history
Do it through external means (once GH stops rate limiting me)
  • Loading branch information
jalil-salame committed Aug 9, 2024
1 parent 4389c70 commit 5240768
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .forgejo/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
on:
push:
schedule:
- cron: '12 5 * * *'
jobs:
check:
runs-on: nixos
if: github.event_name != 'schedule'
steps:
- uses: "https://code.forgejo.org/actions/checkout@v4"
- run: nix --version
- run: nix flake check --keep-going --verbose
build:
runs-on: nixos
if: github.event_name != 'schedule'
strategy:
matrix:
target:
Expand All @@ -25,18 +21,3 @@ jobs:
- uses: "https://code.forgejo.org/actions/checkout@v4"
- run: nix --version
- run: nix build --print-build-logs '.#${{ matrix.target }}'
update-lockfile:
needs: [check build]
runs-on: nixos
if: github.event_name == 'schedule'
steps:
- uses: "https://code.forgejo.org/actions/checkout@v4"
- run: nix --version
- name: nix flake update
run: |
git config user.name 'forgejo-actions'
git config user.email '[email protected]'
git switch --force-create update-lockfile
nix flake update --commit-lock-file --option commit-lockfile-summary '[chore] flake.lock: update inputs'
nix flake check --keep-going --verbose
git push --force-with-lease --set-upstream origin update-lockfile

0 comments on commit 5240768

Please sign in to comment.