Skip to content

Commit

Permalink
Add ci & format & drop reth (#1)
Browse files Browse the repository at this point in the history
* add ci

* format

* update name

* drop reth
  • Loading branch information
vaporif authored Nov 23, 2024
1 parent 0250aca commit 06b6adb
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 326 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
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
290 changes: 1 addition & 289 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 06b6adb

Please sign in to comment.