mirror of
https://github.com/DeterminateSystems/determinate-nix-action.git
synced 2026-05-27 16:43:54 +00:00
Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4eea0b33e3 | ||
|
|
bafaa638b9 | ||
|
|
7c4cc317e8 | ||
|
|
f4c468f228 |
4 changed files with 13 additions and 13 deletions
|
|
@ -53,7 +53,7 @@ jobs:
|
|||
contents: read
|
||||
steps:
|
||||
- uses: actions/checkout@v6.0.2
|
||||
- uses: DeterminateSystems/determinate-nix-action@main # or v3.18.1 to pin to a release
|
||||
- uses: DeterminateSystems/determinate-nix-action@main # or v3.21.0 to pin to a release
|
||||
- run: nix build .
|
||||
```
|
||||
|
||||
|
|
@ -67,10 +67,10 @@ jobs:
|
|||
Unlike `DeterminateSystems/nix-installer-action`, we fully support explicit version pinning for maximum consistency.
|
||||
This Action is **automatically tagged** for every Determinate Nix release, giving you complete control over your CI environment:
|
||||
|
||||
📍 Pinning to `DeterminateSystems/determinate-nix-action@v3.18.1` guarantees:
|
||||
📍 Pinning to `DeterminateSystems/determinate-nix-action@v3.21.0` guarantees:
|
||||
|
||||
- Same `nix-installer-action` revision every time
|
||||
- Consistent Determinate Nix v3.18.1 installation
|
||||
- Consistent Determinate Nix v3.21.0 installation
|
||||
- Reproducible CI workflows, even years later
|
||||
|
||||
✨ Using `@main` instead? You'll:
|
||||
|
|
@ -113,7 +113,7 @@ updates:
|
|||
| `source-branch` | The branch of `nix-installer` to use (conflicts with `source-tag`, `source-revision`, `source-pr`) | | |
|
||||
| `source-pr` | The PR of `nix-installer` to use (conflicts with `source-tag`, `source-revision`, `source-branch`) | | |
|
||||
| `source-revision` | The revision of `nix-installer` to use (conflicts with `source-tag`, `source-branch`, `source-pr`) | | |
|
||||
| `source-tag` | The tag of `nix-installer` to use (conflicts with `source-revision`, `source-branch`, `source-pr`) | | `v3.18.1` |
|
||||
| `source-tag` | The tag of `nix-installer` to use (conflicts with `source-revision`, `source-branch`, `source-pr`) | | `v3.21.0` |
|
||||
| `source-url` | A URL pointing to a `nix-installer` executable | | |
|
||||
| `backtrace` | The setting for `RUST_BACKTRACE` (see https://doc.rust-lang.org/std/backtrace/index.html#environment-variables) | | |
|
||||
| `diagnostic-endpoint` | Diagnostic endpoint url where the installer sends data to. To disable set this to an empty string. | | `-` |
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@
|
|||
"source-tag": {
|
||||
"description": "The tag of `nix-installer` to use (conflicts with `source-revision`, `source-branch`, `source-pr`)",
|
||||
"required": false,
|
||||
"default": "v3.18.1"
|
||||
"default": "v3.21.0"
|
||||
},
|
||||
"source-url": {
|
||||
"description": "A URL pointing to a `nix-installer` executable",
|
||||
|
|
@ -105,7 +105,7 @@
|
|||
"using": "composite",
|
||||
"steps": [
|
||||
{
|
||||
"uses": "DeterminateSystems/nix-installer-action@92148bb48b9a0c5458c53dd0b368fbfbfbaa3210",
|
||||
"uses": "DeterminateSystems/nix-installer-action@00199f951aeb9404028a6e4b95ad42546f73296a",
|
||||
"with": {
|
||||
"extra-conf": "${{ inputs.extra-conf }}",
|
||||
"github-server-url": "${{ inputs.github-server-url }}",
|
||||
|
|
|
|||
10
flake.lock
generated
10
flake.lock
generated
|
|
@ -2,12 +2,12 @@
|
|||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1776548001,
|
||||
"narHash": "sha256-ZSK0NL4a1BwVbbTBoSnWgbJy9HeZFXLYQizjb2DPF24=",
|
||||
"rev": "b12141ef619e0a9c1c84dc8c684040326f27cdcc",
|
||||
"revCount": 982522,
|
||||
"lastModified": 1779357205,
|
||||
"narHash": "sha256-cCO8aTqss5x9Ky8GWkpY0Hy5fyTZEbtifSUV8QjSzic=",
|
||||
"rev": "f83fc3c307e74bc5fd5adb7eb6b8b13ffd2a36e1",
|
||||
"revCount": 1002845,
|
||||
"type": "tarball",
|
||||
"url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.982522%2Brev-b12141ef619e0a9c1c84dc8c684040326f27cdcc/019dac49-3fcc-79b0-85fb-7ee694b1cf62/source.tar.gz"
|
||||
"url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.1002845%2Brev-f83fc3c307e74bc5fd5adb7eb6b8b13ffd2a36e1/019e50ff-852f-75f3-83b7-9b2faf16fe0c/source.tar.gz"
|
||||
},
|
||||
"original": {
|
||||
"type": "tarball",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"nix_installer_action_revision": "92148bb48b9a0c5458c53dd0b368fbfbfbaa3210",
|
||||
"determinate_nix_tag": "v3.18.1",
|
||||
"nix_installer_action_revision": "00199f951aeb9404028a6e4b95ad42546f73296a",
|
||||
"determinate_nix_tag": "v3.21.0",
|
||||
"checkout_action_tag": "v6.0.2"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue