Update the readme to include permissions
This commit is contained in:
parent
98db0bfe86
commit
1aca72fd3a
|
@ -6,7 +6,14 @@ Use Magic Nix Cache, a totally free and zero-configuration binary cache for Nix
|
||||||
Add our [GitHub Action][action] after installing Nix, in your workflow, like this:
|
Add our [GitHub Action][action] after installing Nix, in your workflow, like this:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
id-token: write
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
|
- run: nix flake check
|
||||||
```
|
```
|
||||||
|
|
||||||
See [Usage](#usage) for a detailed example.
|
See [Usage](#usage) for a detailed example.
|
||||||
|
|
Loading…
Reference in a new issue