add lf icons (#4) #13
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: "check" | |
on: | |
pull_request: | |
push: | |
branches: [ main ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ !startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main' }} | |
jobs: | |
check: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v25 | |
with: | |
github_access_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Check nix flake | |
run: | | |
nix flake check | |
- name: Check formatting | |
run: | | |
nix run nixpkgs#nixpkgs-fmt -- --check . | |
- name: Build home-manager configuration | |
run: | | |
nix build .#homeConfigurations.vaporif.activationPackage | |
- name: Test build on different systems | |
run: | | |
nix build .#homeConfigurations.vaporif.activationPackage --system aarch64-darwin |