Skip to content

update nix pins, upgrade github actions #107

update nix pins, upgrade github actions

update nix pins, upgrade github actions #107

Workflow file for this run

name: formatting
on: {workflow_dispatch, push: {branches: [main]}, pull_request}
jobs:
prettier:
runs-on: ubuntu-22.04
steps:
- uses: actions/[email protected]
- uses: cachix/install-nix-action@v23
with:
extra_nix_config: |
experimental-features = nix-command flakes
- run: nix-env -f . -iA pkgs.nodePackages.prettier
- run: prettier --check .
nixpkgs-fmt:
runs-on: ubuntu-22.04
steps:
- uses: actions/[email protected]
- uses: cachix/install-nix-action@v23
with:
extra_nix_config: |
experimental-features = nix-command flakes
- run: nix-env -f . -iA pkgs.nixpkgs-fmt
- run: nixpkgs-fmt --check .