fix: mount gocryptfs correctly #235
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: "Flake Build" | |
| on: | |
| push: | |
| branches: | |
| master | |
| jobs: | |
| build-system: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "Checkout" | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Free Disk Space | |
| uses: insightsengineering/disk-space-reclaimer@v1 | |
| with: | |
| swap-storage: false | |
| - name: Substituters | |
| id: substituters | |
| run: | | |
| echo "TRUSTED_PUBLIC_KEYS=$(./nix.sh ci_get trusted-public-keys)" >> "$GITHUB_OUTPUT" | |
| echo "SUBSTITUTERS=$(./nix.sh ci_get trusted-substituters)" >> "$GITHUB_OUTPUT" | |
| - uses: samueldr/lix-gha-installer-action@latest | |
| name: "Install Lix" | |
| with: | |
| extra_nix_config: | | |
| trusted-public-keys = ${{ steps.substituters.outputs.TRUSTED_PUBLIC_KEYS }} | |
| substituters = ${{ steps.substituters.outputs.SUBSTITUTERS }} | |
| experimental-features = flakes nix-command pipe-operator | |
| accept-flake-config = true | |
| - name: Build & push all outputs | |
| env: | |
| CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }} | |
| run: | | |
| nix develop .#ci --command bash -c "nix-build-all --systems x86_64-linux --override-input flake . --out-link flake --cachix-cache spearman4157" | |
| nix build .#packages.x86_64-linux.deploy | |
| cat result |