Files
archived-teslamate/.github/workflows/update-flake-lock.yml
T
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Jakob Lichterfeld
85b45f224d build(deps): bump nixbuild/nix-quick-install-action from 30 to 32 (#4813)
* build(deps): bump nixbuild/nix-quick-install-action from 30 to 32

Bumps [nixbuild/nix-quick-install-action](https://github.com/nixbuild/nix-quick-install-action) from 30 to 32.
- [Release notes](https://github.com/nixbuild/nix-quick-install-action/releases)
- [Changelog](https://github.com/nixbuild/nix-quick-install-action/blob/master/RELEASE)
- [Commits](https://github.com/nixbuild/nix-quick-install-action/compare/5bb6a3b3abe66fd09bbf250dce8ada94f856a703...63ca48f939ee3b8d835f4126562537df0fee5b91)

---
updated-dependencies:
- dependency-name: nixbuild/nix-quick-install-action
  dependency-version: '32'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* docs: update changelog

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
2025-07-11 08:38:27 +02:00

55 lines
1.9 KiB
YAML

---
name: Update flake.lock
on:
workflow_dispatch:
schedule:
# runs weekly on Saturday at 00:00 UTC time
- cron: "0 0 * * 6"
permissions:
contents: write
pull-requests: write
jobs:
lockfile:
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install Nix
uses: nixbuild/nix-quick-install-action@63ca48f939ee3b8d835f4126562537df0fee5b91 # v32
- name: Nix binary cache
uses: nix-community/cache-nix-action@135667ec418502fa5a3598af6fb9eb733888ce6a # v6.1.3
with:
# restore and save a cache using this key
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/flake.lock') }}
# if there's no cache hit, restore a cache by this prefix
restore-prefixes-first-match: nix-${{ runner.os }}-
# collect garbage until Nix store size (in bytes) is at most this number
# before trying to save a new cache
# 1G = 1073741824
gc-max-store-size-linux: 1073741824
# do purge caches
purge: true
# purge all versions of the cache
purge-prefixes: nix-${{ runner.os }}-
# created more than this number of seconds ago
# relative to the start of the `Post Restore and save Nix store` phase
purge-created: 0
# except any version with the key that is the same as the `primary-key`
purge-primary-key: never
- name: Update flake.lock
id: update
uses: DeterminateSystems/update-flake-lock@428c2b58a4b7414dabd372acb6a03dba1084d3ab #v25
with:
pr-title: "build(deps): update flake.lock"
pr-labels: |
dependencies
automated
- name: Print PR number
run: echo Pull request number is ${{ steps.update.outputs.pull-request-number }}.