Skip to content

Commit

Permalink
Added .github/workflows/update-flake-lock.yaml (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeme-wana authored Apr 23, 2024
1 parent 9436c2a commit 7fe2de1
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
34 changes: 34 additions & 0 deletions .github/workflows/update-flake-lock.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: update-flake-lock

on:
workflow_dispatch:
schedule:
- cron: '0 9 * * 1' # Runs weekly on Monday at 9:00am

jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Update flake.lock
id: update
uses: DeterminateSystems/update-flake-lock@main
with:
pr-title: "Update flake.lock"
pr-assignees: zeme-wana
pr-reviewers: zeme-wana
inputs: |
haskell-nix
hackage
CHaP
iohk-nix
sphinxcontrib-haddock
pre-commit-hooks-nix
easy-purescript-nix
flake-utils
nix2container
- name: Print PR number
run: echo Pull request number is ${{ steps.update.outputs.pull-request-number }}.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@

repoRoot = ./.;

systems = [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" ];
systems = [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" "aarch64-linux" ];

flake = { repoRoot, inputs }: rec {

Expand Down

0 comments on commit 7fe2de1

Please sign in to comment.