fix: install root certs correctly by changing how daemonization works #97
Workflow file for this run
This file contains 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: nix | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v22 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
extra_nix_config: | | |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | |
- name: Install Cache | |
uses: DeterminateSystems/magic-nix-cache-action@v4 | |
- run: nix flake check | |
# confirms that the shell works, and that there are no linting errors | |
- name: lint formatting | |
run: | | |
nix develop --command bash -c "find . -name '*.nix' | xargs nixpkgs-fmt" | |
if ! git diff-index --quiet HEAD --; then | |
echo "nixpkgs-fmt had changes" | |
exit 1 | |
fi | |
# confirms that the build works | |
- run: nix build . |