Skip to content

fix: replace deprecated casks + use homebrew keybase + update darwin … #101

fix: replace deprecated casks + use homebrew keybase + update darwin …

fix: replace deprecated casks + use homebrew keybase + update darwin … #101

Workflow file for this run

name: build
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
workflow_dispatch:
jobs:
build-linux:
runs-on: ubuntu-22.04
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: DeterminateSystems/flake-checker-action@main
- name: Build
run: make apply/user
build-wsl:
runs-on: ubuntu-22.04
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: DeterminateSystems/flake-checker-action@main
- name: Build
run: |
./scripts/backup.sh ./modules/files/files.txt
nix run home-manager -- switch --flake '.#runner-wsl'
echo "✅ home-manager has been applied successfully!"
build-darwin:
runs-on: macos-14
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: DeterminateSystems/flake-checker-action@main
- name: Build
# TODO: ignore exit status because this step is unstable in macOS
run: |
sudo mv /etc/nix/nix.conf /etc/nix/nix.conf.bk
make apply/darwin || :