Add AF_UNIX support for destination (-d) mode (#211) #1077
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| # To run all of the below checks locally, run `nix flake check -L` | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| flake-check: | |
| name: nix flake check --no-build | |
| runs-on: ubuntu-latest | |
| outputs: | |
| checks: ${{ steps.list-checks.outputs.checks }} | |
| steps: | |
| - &checkout | |
| uses: actions/checkout@v4.1.1 | |
| with: | |
| fetch-depth: 0 | |
| filter: "tree:0" | |
| - &install_nix | |
| name: Install Nix | |
| run: | | |
| curl --proto '=https' --tlsv1.2 -sSf -L \ | |
| https://install.lix.systems/lix | sh -s -- install --no-confirm | |
| - run: nix flake check --no-build -L | |
| - id: list-checks | |
| run: | |
| echo "checks=$(nix eval .#checks.x86_64-linux --apply | |
| builtins.attrNames --json)" >> $GITHUB_OUTPUT | |
| build-checks: | |
| needs: flake-check | |
| timeout-minutes: 60 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| check: ${{ fromJson(needs.flake-check.outputs.checks) }} | |
| name: ${{ matrix.check }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - *checkout | |
| - *install_nix | |
| - run: nix build -L .#checks.x86_64-linux.${{ matrix.check }} |