Change workflows
Some checks failed
flake-check / build (push) Failing after 31s

This commit is contained in:
Torjus Håkestad 2024-10-02 22:46:53 +02:00
parent 00c684f767
commit 58d251cb69
3 changed files with 14 additions and 21 deletions

14
.github/workflows/flake-check.yaml vendored Normal file
View File

@ -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

View File

@ -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

View File

@ -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