Skip to content

fix(flake): Remove ktfmt #13

fix(flake): Remove ktfmt

fix(flake): Remove ktfmt #13

Workflow file for this run

name: Nix Flake
on:
workflow_dispatch:
push:
branches: [ master ]
paths:
- flake.lock
- flake.nix
- nix/**
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
paths:
- flake.lock
- flake.nix
- nix/**
permissions: {}
jobs:
flake-check:
name: Check
runs-on: ubuntu-latest
concurrency:
group: ${{ github.ref == 'refs/heads/master' && format('flake-master-{0}', github.sha) || format('flake-{0}', github.ref) }}
cancel-in-progress: true
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
with:
# This might remove tools that are actually needed, if set to "true" but frees about 6 GB
tool-cache: true
# All of these default to true, but we should only need the 'android' one (and maybe swap-storage?)
android: false
dotnet: true
haskell: true
# This takes way too long to run (~2 minutes) and it saves only ~5.5GB
large-packages: false
docker-images: true
swap-storage: false
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- name: Install Nix
uses: nixbuild/nix-quick-install-action@2c9db80fb984ceb1bcaa77cdda3fdf8cfba92035 # v34
- name: Check Flake
run: nix flake check