Skip to content

build: update flake.nix #15

build: update flake.nix

build: update flake.nix #15

Workflow file for this run

---
name: Update flake.nix
on:
workflow_dispatch:
push:
branches:
- main
paths:
- go.mod
- go.sum
- console/frontend/package-lock.json
jobs:
flake:
name: Update hashs in flake.nix
runs-on: ubuntu-latest
concurrency:
group: update-flake-nix
cancel-in-progress: true
steps:
- name: Sleep a bit
run: sleep 120
if: ${{ github.event_name == 'push' }}
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v24
- name: Update flake.nix
run: nix run .#passthru.update
- name: Push update
run: |
git config --local user.name "github-actions[bot]"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add flake.lock nix
! git commit -m "build: update flake.nix" || git push