mirror of
https://github.com/DeterminateSystems/determinate-nix-action.git
synced 2026-02-25 07:07:11 +00:00
Compare commits
No commits in common. "main" and "v3.15.1" have entirely different histories.
5 changed files with 15 additions and 22 deletions
11
README.md
11
README.md
|
|
@ -52,8 +52,8 @@ jobs:
|
||||||
id-token: write
|
id-token: write
|
||||||
contents: read
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6.0.2
|
- uses: actions/checkout@v6.0.1
|
||||||
- uses: DeterminateSystems/determinate-nix-action@main # or v3.16.3 to pin to a release
|
- uses: DeterminateSystems/determinate-nix-action@main # or v3.15.1 to pin to a release
|
||||||
- run: nix build .
|
- run: nix build .
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -67,10 +67,10 @@ jobs:
|
||||||
Unlike `DeterminateSystems/nix-installer-action`, we fully support explicit version pinning for maximum consistency.
|
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:
|
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.16.3` guarantees:
|
📍 Pinning to `DeterminateSystems/determinate-nix-action@v3.15.1` guarantees:
|
||||||
|
|
||||||
- Same `nix-installer-action` revision every time
|
- Same `nix-installer-action` revision every time
|
||||||
- Consistent Determinate Nix v3.16.3 installation
|
- Consistent Determinate Nix v3.15.1 installation
|
||||||
- Reproducible CI workflows, even years later
|
- Reproducible CI workflows, even years later
|
||||||
|
|
||||||
✨ Using `@main` instead? You'll:
|
✨ Using `@main` instead? You'll:
|
||||||
|
|
@ -102,7 +102,6 @@ updates:
|
||||||
| `github-server-url` | The URL for the GitHub server, to use with the `github-token` token. Defaults to the current GitHub server, supporting GitHub Enterprise Server automatically. Only change this value if the provided `github-token` is for a different GitHub server than the current server. | | `${{ github.server_url }}` |
|
| `github-server-url` | The URL for the GitHub server, to use with the `github-token` token. Defaults to the current GitHub server, supporting GitHub Enterprise Server automatically. Only change this value if the provided `github-token` is for a different GitHub server than the current server. | | `${{ github.server_url }}` |
|
||||||
| `github-token` | A GitHub token for making authenticated requests (which have a higher rate-limit quota than unauthenticated requests) | | `${{ github.token }}` |
|
| `github-token` | A GitHub token for making authenticated requests (which have a higher rate-limit quota than unauthenticated requests) | | `${{ github.token }}` |
|
||||||
| `trust-runner-user` | Whether to make the runner user trusted by the Nix daemon | | `true` |
|
| `trust-runner-user` | Whether to make the runner user trusted by the Nix daemon | | `true` |
|
||||||
| `summarize` | Whether to add a build summary and timeline chart to the GitHub job summary | | `true` |
|
|
||||||
| `force-no-systemd` | Force using other methods than systemd to launch the daemon. This setting is automatically enabled when necessary. | | `false` |
|
| `force-no-systemd` | Force using other methods than systemd to launch the daemon. This setting is automatically enabled when necessary. | | `false` |
|
||||||
| `init` | The init system to configure, requires `planner: linux-multi` (allowing the choice between `none` or `systemd`) | | |
|
| `init` | The init system to configure, requires `planner: linux-multi` (allowing the choice between `none` or `systemd`) | | |
|
||||||
| `kvm` | Automatically configure the GitHub Actions Runner for NixOS test supports, if the host supports it. | | `true` |
|
| `kvm` | Automatically configure the GitHub Actions Runner for NixOS test supports, if the host supports it. | | `true` |
|
||||||
|
|
@ -113,7 +112,7 @@ updates:
|
||||||
| `source-branch` | The branch of `nix-installer` to use (conflicts with `source-tag`, `source-revision`, `source-pr`) | | |
|
| `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-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-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.16.3` |
|
| `source-tag` | The tag of `nix-installer` to use (conflicts with `source-revision`, `source-branch`, `source-pr`) | | `v3.15.1` |
|
||||||
| `source-url` | A URL pointing to a `nix-installer` executable | | |
|
| `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) | | |
|
| `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. | | `-` |
|
| `diagnostic-endpoint` | Diagnostic endpoint url where the installer sends data to. To disable set this to an empty string. | | `-` |
|
||||||
|
|
|
||||||
|
|
@ -22,10 +22,6 @@
|
||||||
"description": "Whether to make the runner user trusted by the Nix daemon",
|
"description": "Whether to make the runner user trusted by the Nix daemon",
|
||||||
"default": true
|
"default": true
|
||||||
},
|
},
|
||||||
"summarize": {
|
|
||||||
"description": "Whether to add a build summary and timeline chart to the GitHub job summary",
|
|
||||||
"default": true
|
|
||||||
},
|
|
||||||
"force-no-systemd": {
|
"force-no-systemd": {
|
||||||
"description": "Force using other methods than systemd to launch the daemon. This setting is automatically enabled when necessary.",
|
"description": "Force using other methods than systemd to launch the daemon. This setting is automatically enabled when necessary.",
|
||||||
"required": false,
|
"required": false,
|
||||||
|
|
@ -72,7 +68,7 @@
|
||||||
"source-tag": {
|
"source-tag": {
|
||||||
"description": "The tag of `nix-installer` to use (conflicts with `source-revision`, `source-branch`, `source-pr`)",
|
"description": "The tag of `nix-installer` to use (conflicts with `source-revision`, `source-branch`, `source-pr`)",
|
||||||
"required": false,
|
"required": false,
|
||||||
"default": "v3.16.3"
|
"default": "v3.15.1"
|
||||||
},
|
},
|
||||||
"source-url": {
|
"source-url": {
|
||||||
"description": "A URL pointing to a `nix-installer` executable",
|
"description": "A URL pointing to a `nix-installer` executable",
|
||||||
|
|
@ -105,13 +101,12 @@
|
||||||
"using": "composite",
|
"using": "composite",
|
||||||
"steps": [
|
"steps": [
|
||||||
{
|
{
|
||||||
"uses": "DeterminateSystems/nix-installer-action@95f009f8cba987d36d7e3396d29de81b2883654a",
|
"uses": "DeterminateSystems/nix-installer-action@ab0a9732c6464e5bb81efb82a2103c7d98f0946f",
|
||||||
"with": {
|
"with": {
|
||||||
"extra-conf": "${{ inputs.extra-conf }}",
|
"extra-conf": "${{ inputs.extra-conf }}",
|
||||||
"github-server-url": "${{ inputs.github-server-url }}",
|
"github-server-url": "${{ inputs.github-server-url }}",
|
||||||
"github-token": "${{ inputs.github-token }}",
|
"github-token": "${{ inputs.github-token }}",
|
||||||
"trust-runner-user": "${{ inputs.trust-runner-user }}",
|
"trust-runner-user": "${{ inputs.trust-runner-user }}",
|
||||||
"summarize": "${{ inputs.summarize }}",
|
|
||||||
"force-no-systemd": "${{ inputs.force-no-systemd }}",
|
"force-no-systemd": "${{ inputs.force-no-systemd }}",
|
||||||
"init": "${{ inputs.init }}",
|
"init": "${{ inputs.init }}",
|
||||||
"kvm": "${{ inputs.kvm }}",
|
"kvm": "${{ inputs.kvm }}",
|
||||||
|
|
|
||||||
10
flake.lock
generated
10
flake.lock
generated
|
|
@ -2,12 +2,12 @@
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771848320,
|
"lastModified": 1766309749,
|
||||||
"narHash": "sha256-0MAd+0mun3K/Ns8JATeHT1sX28faLII5hVLq0L3BdZU=",
|
"narHash": "sha256-3xY8CZ4rSnQ0NqGhMKAy5vgC+2IVK0NoVEzDoOh4DA4=",
|
||||||
"rev": "2fc6539b481e1d2569f25f8799236694180c0993",
|
"rev": "a6531044f6d0bef691ea18d4d4ce44d0daa6e816",
|
||||||
"revCount": 953160,
|
"revCount": 914755,
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.953160%2Brev-2fc6539b481e1d2569f25f8799236694180c0993/019c8e05-d2f6-7c7e-9ead-612154b18bfb/source.tar.gz"
|
"url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.914755%2Brev-a6531044f6d0bef691ea18d4d4ce44d0daa6e816/019b4613-7276-7c80-8e57-953e4698fb6e/source.tar.gz"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,6 @@ keep_inputs = [
|
||||||
"github-server-url",
|
"github-server-url",
|
||||||
"github-token",
|
"github-token",
|
||||||
"trust-runner-user",
|
"trust-runner-user",
|
||||||
"summarize",
|
|
||||||
# Advanced run-time environment options
|
# Advanced run-time environment options
|
||||||
"force-no-systemd",
|
"force-no-systemd",
|
||||||
"init",
|
"init",
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"nix_installer_action_revision": "95f009f8cba987d36d7e3396d29de81b2883654a",
|
"nix_installer_action_revision": "ab0a9732c6464e5bb81efb82a2103c7d98f0946f",
|
||||||
"determinate_nix_tag": "v3.16.3",
|
"determinate_nix_tag": "v3.15.1",
|
||||||
"checkout_action_tag": "v6.0.2"
|
"checkout_action_tag": "v6.0.1"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue