mirror of
https://github.com/DeterminateSystems/update-flake-lock.git
synced 2025-07-01 19:03:49 +03:00
Compare commits
20 commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
3ce5967e9d | ||
![]() |
509c5b641b | ||
![]() |
5a1baf2676 | ||
![]() |
adae970ac9 | ||
![]() |
aaa6c5f16e | ||
![]() |
9e234f294f | ||
![]() |
ae93f377bd | ||
![]() |
203bba74fe | ||
![]() |
7254b1b06e | ||
![]() |
c2408e5496 | ||
![]() |
e619add55e | ||
![]() |
ab1354a8e5 | ||
![]() |
2770056b7a | ||
![]() |
aa3e38eebd | ||
![]() |
10cfb1c664 | ||
![]() |
a1bf79f72f | ||
![]() |
c115b81c59 | ||
![]() |
2ca76c3436 | ||
![]() |
a3640124cb | ||
![]() |
5681a56ca1 |
6 changed files with 1407 additions and 1251 deletions
30
.github/workflows/update.yml
vendored
30
.github/workflows/update.yml
vendored
|
@ -1,24 +1,24 @@
|
||||||
name: update-flake-lock
|
name: "Flake.lock: update Nix dependencies"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch: # allows manual triggering
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 0 * * 0"
|
- cron: "0 0 * * 0" # runs weekly on Sunday at 00:00
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lockfile:
|
nix-flake-update:
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
permissions:
|
||||||
|
contents: write
|
||||||
id-token: write
|
id-token: write
|
||||||
contents: read
|
issues: write
|
||||||
|
pull-requests: write
|
||||||
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- uses: actions/checkout@v4
|
||||||
uses: actions/checkout@v4
|
- uses: DeterminateSystems/determinate-nix-action@v3
|
||||||
- name: Install Determinate Nix
|
- uses: DeterminateSystems/update-flake-lock@main
|
||||||
uses: DeterminateSystems/determinate-nix-action@v3
|
|
||||||
- name: Enable FlakeHub Cache
|
|
||||||
uses: DeterminateSystems/flakehub-cache-action@main
|
|
||||||
- name: Update flake.lock
|
|
||||||
uses: ./.
|
|
||||||
with:
|
with:
|
||||||
_internal-strict-mode: true
|
pr-title: "Update Nix flake inputs" # Title of PR to be created
|
||||||
|
pr-labels: | # Labels to be set on the PR
|
||||||
|
dependencies
|
||||||
|
automated
|
||||||
|
|
20
README.md
20
README.md
|
@ -11,7 +11,7 @@ This is a GitHub Action that updates the [`flake.lock`][lockfile] file for your
|
||||||
Here's an example GitHub Action workflow using this Action:
|
Here's an example GitHub Action workflow using this Action:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
name: update-flake-lock
|
name: "Flake.lock: update Nix dependencies"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch: # allows manual triggering
|
workflow_dispatch: # allows manual triggering
|
||||||
|
@ -19,17 +19,19 @@ on:
|
||||||
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
|
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lockfile:
|
nix-flake-update:
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
id-token: write
|
||||||
|
issues: write
|
||||||
|
pull-requests: write
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- uses: actions/checkout@v4
|
||||||
uses: actions/checkout@v4
|
- uses: DeterminateSystems/determinate-nix-action@v3
|
||||||
- name: Install Determinate Nix
|
- uses: DeterminateSystems/update-flake-lock@main
|
||||||
uses: DeterminateSystems/determinate-nix-action@v3
|
|
||||||
- name: Update flake.lock
|
|
||||||
uses: DeterminateSystems/update-flake-lock@main
|
|
||||||
with:
|
with:
|
||||||
pr-title: "Update flake.lock" # Title of PR to be created
|
pr-title: "Update Nix flake inputs" # Title of PR to be created
|
||||||
pr-labels: | # Labels to be set on the PR
|
pr-labels: | # Labels to be set on the PR
|
||||||
dependencies
|
dependencies
|
||||||
automated
|
automated
|
||||||
|
|
1392
dist/index.js
vendored
1392
dist/index.js
vendored
File diff suppressed because one or more lines are too long
10
flake.lock
generated
10
flake.lock
generated
|
@ -2,12 +2,12 @@
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1746663147,
|
"lastModified": 1750365781,
|
||||||
"narHash": "sha256-Ua0drDHawlzNqJnclTJGf87dBmaO/tn7iZ+TCkTRpRc=",
|
"narHash": "sha256-XE/lFNhz5lsriMm/yjXkvSZz5DfvKJLUjsS6pP8EC50=",
|
||||||
"rev": "dda3dcd3fe03e991015e9a74b22d35950f264a54",
|
"rev": "08f22084e6085d19bcfb4be30d1ca76ecb96fe54",
|
||||||
"revCount": 796699,
|
"revCount": 818804,
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.796699%2Brev-dda3dcd3fe03e991015e9a74b22d35950f264a54/0196b263-02b0-7dec-8aca-c2506ed2485f/source.tar.gz"
|
"url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.818804%2Brev-08f22084e6085d19bcfb4be30d1ca76ecb96fe54/01978cc3-592f-7488-b61e-844ab20aa68b/source.tar.gz"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
|
|
10
package.json
10
package.json
|
@ -37,11 +37,11 @@
|
||||||
"eslint": "^8.57.1",
|
"eslint": "^8.57.1",
|
||||||
"eslint-import-resolver-typescript": "^3.10.1",
|
"eslint-import-resolver-typescript": "^3.10.1",
|
||||||
"eslint-plugin-github": "^4.10.2",
|
"eslint-plugin-github": "^4.10.2",
|
||||||
"eslint-plugin-import": "^2.31.0",
|
"eslint-plugin-import": "^2.32.0",
|
||||||
"eslint-plugin-prettier": "^5.4.0",
|
"eslint-plugin-prettier": "^5.5.0",
|
||||||
"prettier": "^3.5.3",
|
"prettier": "^3.6.0",
|
||||||
"tsup": "^8.4.0",
|
"tsup": "^8.5.0",
|
||||||
"typescript": "^5.8.3",
|
"typescript": "^5.8.3",
|
||||||
"vitest": "^3.1.3"
|
"vitest": "^3.2.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
1196
pnpm-lock.yaml
generated
1196
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue