ci: jq is already part of ci environment (#767)
* ci: jq is already part of ci environment * ci: add --accept-flake-config flag to actually use the binary cache from flake.nix
This commit is contained in:
parent
7bdc02cc99
commit
850cdf4c3b
5
.github/actions/common-setup/action.yml
vendored
5
.github/actions/common-setup/action.yml
vendored
|
@ -21,8 +21,3 @@ runs:
|
|||
with:
|
||||
name: nixos-search
|
||||
signingKey: '${{ inputs.CACHIX_SIGNING_KEY }}'
|
||||
|
||||
- name: Installing jq
|
||||
shell: bash
|
||||
run: |
|
||||
nix-env -f '<nixpkgs>' -iA jq
|
||||
|
|
2
.github/workflows/build-flake-info.yml
vendored
2
.github/workflows/build-flake-info.yml
vendored
|
@ -27,4 +27,4 @@ jobs:
|
|||
|
||||
- name: Building flake-info
|
||||
run: |
|
||||
nix -vL build .#flake-info
|
||||
nix --accept-flake-config -vL build .#flake-info
|
||||
|
|
2
.github/workflows/check-flake-files.yml
vendored
2
.github/workflows/check-flake-files.yml
vendored
|
@ -37,7 +37,7 @@ jobs:
|
|||
do
|
||||
echo "::group::Group \"$(basename $flake_group .toml)\""
|
||||
|
||||
nix run .#flake-info -- group "$flake_group" "$(basename "$flake_group" .toml)" --report
|
||||
nix run --accept-flake-config .#flake-info -- group "$flake_group" "$(basename "$flake_group" .toml)" --report
|
||||
|
||||
if [[ -f "./report.txt" ]]
|
||||
then
|
||||
|
|
|
@ -30,7 +30,7 @@ jobs:
|
|||
- name: NixOS Channels
|
||||
id: nixos-channels
|
||||
run: |
|
||||
nix build -L .#nixosChannels
|
||||
nix build --accept-flake-config -L .#nixosChannels
|
||||
channels="{\"channel\": $(< ./result)}"
|
||||
echo "$channels"
|
||||
echo "matrix=$channels" >> "$GITHUB_OUTPUT"
|
||||
|
@ -62,7 +62,7 @@ jobs:
|
|||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
nix run .#flake-info -- --push --elastic-schema-version=$(< VERSION) nixpkgs ${{ matrix.channel }}
|
||||
nix run --accept-flake-config .#flake-info -- --push --elastic-schema-version=$(< VERSION) nixpkgs ${{ matrix.channel }}
|
||||
if: github.repository_owner == 'NixOS'
|
||||
|
||||
- name: Warmup ${{ matrix.channel }} channel
|
||||
|
@ -110,7 +110,7 @@ jobs:
|
|||
|
||||
- name: Import ${{ matrix.group }} group
|
||||
run: |
|
||||
nix run .#flake-info -- --push --elastic-schema-version=$(< ./VERSION) group ./flakes/${{ matrix.group }}.toml ${{ matrix.group }}
|
||||
nix run --accept-flake-config .#flake-info -- --push --elastic-schema-version=$(< ./VERSION) group ./flakes/${{ matrix.group }}.toml ${{ matrix.group }}
|
||||
if: github.repository_owner == 'NixOS'
|
||||
|
||||
- name: Warmup ${{ matrix.group }} group
|
||||
|
|
Loading…
Reference in a new issue