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 }}