chore(deps): update cachix/install-nix-action action to v30 #349
Workflow file for this run
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: CI | |
| on: | |
| push: | |
| jobs: | |
| pre_ci: | |
| uses: dtolnay/.github/.github/workflows/pre_ci.yml@master | |
| build-packages: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| package: | |
| - packages.x86_64-linux.installer-stable | |
| - packages.x86_64-linux.alvr | |
| - packages.x86_64-linux.nixvim | |
| - packages.x86_64-linux.opentofu | |
| - packages.x86_64-linux.plasma-aero-theme | |
| - packages.x86_64-linux.qpm-cli | |
| - packages.x86_64-linux.sandwine | |
| - packages.x86_64-linux.wgsl-analyzer | |
| - packages.x86_64-linux.yt-dlp | |
| - nixosConfigurations.marie-desktop.config.system.build.kernel | |
| name: Build package ${{ matrix.package }} | |
| runs-on: ubuntu-latest | |
| needs: pre_ci | |
| if: needs.pre_ci.outputs.continue | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30 | |
| with: | |
| extra_nix_config: | | |
| trusted-public-keys = uwumarie.cachix.org-1:H6nX8e82pu2GQ8CGU3j1qHTG7QMYzZ15oSBh26XhtVo= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= | |
| substituters = https://uwumarie.cachix.org https://cache.nixos.org/ | |
| - name: Cleanup disk space | |
| run: | | |
| sudo rm -rf /usr/share/dotnet | |
| sudo rm -rf /opt/ghc | |
| sudo rm -rf "/usr/local/share/boost" | |
| sudo rm -rf "$AGENT_TOOLSDIRECTORY" | |
| - name: Build ${{ matrix.package }} | |
| env: | |
| CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }} | |
| run: | | |
| nix shell --inputs-from . \ | |
| nixpkgs#nix-fast-build \ | |
| -c \ | |
| nix-fast-build \ | |
| --skip-cached \ | |
| --no-nom \ | |
| --cachix-cache uwumarie \ | |
| --flake '.#${{ matrix.package }}' |