name: Build library & run tests on: [push] jobs: build: strategy: matrix: feature: - tcp - unix runs-on: nix steps: - name: Checkout uses: actions/checkout@v3 - name: Run clippy run: nix build .#clippy_${{ matrix.feature }} - name: Build & test run: nix build .#${{ matrix.feature }} docs: runs-on: nix steps: - name: Checkout uses: actions/checkout@v3 - name: Build docs run: nix build .#doc.doc - name: (Temporary) Upload docs uses: actions/upload-artifact@v3 with: name: docs path: ./result-doc