diff --git a/.github/workflows/flake-check.yaml b/.github/workflows/flake-check.yaml new file mode 100644 index 0000000..b74f82d --- /dev/null +++ b/.github/workflows/flake-check.yaml @@ -0,0 +1,14 @@ +name: flake-check +on: + push: + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + container: + image: ghcr.io/catthehacker/ubuntu:runner-latest + steps: + - uses: actions/checkout@v3 + - uses: cachix/install-nix-action@v27 + - run: nix flake check diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml deleted file mode 100644 index d41821f..0000000 --- a/.github/workflows/pre-commit.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: pre-commit -on: - push: - pull_request: - -jobs: - pre-commit: - runs-on: ubuntu-latest - container: - image: ghcr.io/catthehacker/ubuntu:act-latest - steps: - - uses: actions/checkout@v3 - - uses: pre-commit/action@v3.0.1 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml deleted file mode 100644 index 391c3a5..0000000 --- a/.pre-commit-config.yaml +++ /dev/null @@ -1,8 +0,0 @@ -repos: - - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.2.0 - hooks: - - id: trailing-whitespace - - id: end-of-file-fixer - - id: check-yaml - - id: check-added-large-files