From 395181a070231da9f46b45c51d35cad3c1a93a31 Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Sun, 19 Dec 2021 00:31:14 -0500 Subject: [PATCH] Add gofumpt --- .github/workflows/cachix.yml | 10 +++++++++- README.md | 2 +- common/packages.nix | 1 + 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cachix.yml b/.github/workflows/cachix.yml index 848904c..77c01e4 100644 --- a/.github/workflows/cachix.yml +++ b/.github/workflows/cachix.yml @@ -1,7 +1,15 @@ name: "Build and push to cachix" + on: - pull_request: push: + branches: + - main + paths-ignore: + - '**/*.md' + - '*.md' + - 'LICENSE' + workflow_dispatch: + jobs: build: runs-on: ubuntu-latest diff --git a/README.md b/README.md index 56b27e0..d100a78 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ The configuration is very specific to my own machines and setup, but it may be a To run a rebuild: ```sh -make switch +make ``` ## Update diff --git a/common/packages.nix b/common/packages.nix index e8bf6de..ead3765 100644 --- a/common/packages.nix +++ b/common/packages.nix @@ -87,6 +87,7 @@ in golangci-lint golint gopls + gofumpt # js nodePackages.prettier