Skip to content

Nix std ci

Nix std ci #7

Workflow file for this run

# yq '. | explode(.)' .github/_ci.yml >| .github/workflows/ci.yml
name: CI For CloudFlare Dynamic DNS client
on:
pull_request:
branches:
- master
push:
branches:
- master
permissions:
contents: read
concurrency:
group: std-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
discover:
outputs:
hits: ${{ steps.discovery.outputs.hits }}
runs-on: ubuntu-latest
steps:
- uses: nixbuild/nix-quick-install-action@v25
- uses: DeterminateSystems/magic-nix-cache-action@v2
- uses: divnix/std-action/discover@proviso-skipped
id: discovery
packages:
needs: discover
name: ${{ matrix.target.jobName }}
runs-on: ubuntu-latest
if: matrix.target.skipped == true

Check failure on line 29 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI For CloudFlare Dynamic DNS client

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 29, Col: 9): Unrecognized named-value: 'matrix'. Located at position 1 within expression: matrix.target.skipped == true .github/workflows/ci.yml (Line: 45, Col: 9): Unrecognized named-value: 'matrix'. Located at position 1 within expression: matrix.target.skipped == true
strategy:
matrix:
target: ${{ fromJSON(needs.discover.outputs.hits).packages.build }}
steps:
- uses: nixbuild/nix-quick-install-action@v25
- uses: DeterminateSystems/magic-nix-cache-action@v2
- uses: divnix/std-action/run@main
shells:
needs: discover
name: ${{ matrix.target.jobName }}
runs-on: ubuntu-latest
steps:
- uses: nixbuild/nix-quick-install-action@v25
- uses: DeterminateSystems/magic-nix-cache-action@v2
- uses: divnix/std-action/run@main
if: matrix.target.skipped == true
strategy:
matrix:
target: ${{ fromJSON(needs.discover.outputs.hits).shells.build }}