chore(deps): lock file maintenance (#133) #166
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: Cachix | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '.github/**' | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v30 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Setup Cachix | |
uses: cachix/cachix-action@v15 | |
with: | |
name: anthonyenr1quez | |
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} | |
- run: nix flake archive | |
- run: nix build .#nixosConfigurations.mothership.config.system.build.toplevel | |
intel-macos: | |
# runs-on: macos-12 # drachenflieger is on this version but runner deprecated | |
runs-on: macos-13 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v30 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Setup Cachix | |
uses: cachix/cachix-action@v15 | |
with: | |
name: anthonyenr1quez | |
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} | |
- run: nix build .#darwinConfigurations.drachenflieger.config.system.build.toplevel | |
arm-macos: | |
runs-on: macos-15 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v30 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Setup Cachix | |
uses: cachix/cachix-action@v15 | |
with: | |
name: anthonyenr1quez | |
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} | |
- run: nix build .#darwinConfigurations.MacBook-Pro-2.config.system.build.toplevel | |
- run: nix build .#darwinConfigurations.damascus.config.system.build.toplevel |