enable catppuccin and nixvim #168
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: Flake Check | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
check: | |
strategy: | |
matrix: | |
os: [ubuntu-22.04, macos-14] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Nix | |
uses: DeterminateSystems/nix-installer-action@v13 | |
- name: Check cache | |
uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Run Checks | |
# run: nix flake check --no-build | |
run: nix flake check | |
format: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Nix | |
uses: DeterminateSystems/nix-installer-action@v13 | |
- name: Check cache | |
uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Format flake | |
run: nix fmt | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Auto-format Flake |