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 develop . -c cargo clippy --no-default-features --features ${{ matrix.feature }} - name: Build & test run: nix build .#${{ matrix.feature }}