maya: add SDR tools #366
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: CI | |
on: | |
push: | |
jobs: | |
formatting: | |
name: Formatting | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v29 | |
- name: treefmt | |
run: nix develop --command treefmt --fail-on-change | |
flake-check: | |
name: Flake Check | |
needs: | |
- formatting | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v29 | |
- name: flake check | |
run: nix flake check | |
sway-helper-code-quality: | |
name: sway-helper code quality | |
needs: | |
- formatting | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./overlays/pkgs/sway-helper | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v29 | |
- name: clippy | |
run: nix develop --command cargo clippy --all-targets -- -D warnings | |
build-home-manager-configs: | |
name: Build Home Manager configurations | |
needs: | |
- formatting | |
- sway-helper-code-quality | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
config: | |
- dan@akane | |
- generic | |
- dan@hina | |
- dan@kawashiro | |
- dan@maya | |
- minimal | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v29 | |
- name: Build config | |
run: nix develop .\#bootstrap --command home-manager build --flake .\#${{ matrix.config }} |