-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from redyf/dev
CI/CD
- Loading branch information
Showing
6 changed files
with
93 additions
and
42 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Nix Flake Check | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: write | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Nix | ||
uses: cachix/install-nix-action@v24 | ||
|
||
with: | ||
nix_path: nixpkgs=channel:nixos-unstable | ||
|
||
- name: Install Nix Linting and Formatting Tools | ||
run: nix-env -i statix nixpkgs-fmt -f '<nixpkgs>' | ||
|
||
- name: Run Statix Lint | ||
run: statix fix | ||
|
||
- name: Run Nix Format | ||
run: nix fmt | ||
|
||
- name: Nix Flake Checker | ||
uses: DeterminateSystems/flake-checker-action@v5 | ||
|
||
- name: Commit | ||
uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_message: Auto lint/format | ||
branch: dev |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
{pkgs, ...}: { | ||
home.packages = with pkgs; [ | ||
nerdfix # Fix obsolete nerd font icons | ||
noto-fonts | ||
dejavu_fonts | ||
font-awesome | ||
fira-code-symbols | ||
powerline-symbols | ||
material-design-icons | ||
commit-mono | ||
(nerdfonts.override {fonts = ["IBMPlexMono" "CascadiaCode" "FiraCode" "FiraMono" "JetBrainsMono" "IntelOneMono" "Ubuntu"];}) | ||
]; | ||
} |
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