-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (27 loc) · 816 Bytes
/
update.yml
File metadata and controls
30 lines (27 loc) · 816 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Update flake inputs
on:
schedule:
- cron: "0 12 ? * TUE"
workflow_dispatch:
permissions:
contents: write
jobs:
update-inputs:
name: Update inputs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@master
- name: Configure git
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
- run: nix flake update --commit-lock-file
- run: nix flake check --all-systems
- run: |
cd templates/chez-bin
nix flake update --override-input flakelight-chez ../..
echo '(display "Hello, World!\n")' > main.ss
git add .
nix flake check --all-systems
- run: git push