Skip to content

Commit 37a7b2d

Browse files
committed
chore(infra): migrate to fredsystems pre-commit + renovate
1 parent 9203a68 commit 37a7b2d

25 files changed

Lines changed: 577 additions & 331 deletions

.dockerignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@
55
READMETEMPLATE.md
66
README.md
77
buildx.sh
8+
.direnv
9+
source-stubs
10+
.pre-commit-config.yaml
11+
.envrc

.envrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/env bash
2+
use flake .

.github/dependabot.yaml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/cancel_dupes.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/workflows/hadolint.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/workflows/lint.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: Lint
3+
4+
on:
5+
merge_group:
6+
pull_request:
7+
types: [opened, synchronize, reopened]
8+
workflow_dispatch:
9+
10+
jobs:
11+
# =====================================================================
12+
# Primary Lint job
13+
# =====================================================================
14+
lint:
15+
name: Lint
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
20+
- uses: cachix/install-nix-action@ab739621df7a23f52766f9ccc97f38da6b7af14f # v31
21+
with:
22+
nix_path: nixpkgs=channel:nixos-unstable
23+
24+
- name: Run flake pre-commit hooks
25+
run: nix develop -c pre-commit run --all-files

.github/workflows/markdownlint.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/on_pr.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/workflows/pre-commit-updates.yaml

Lines changed: 0 additions & 18 deletions
This file was deleted.

.github/workflows/shellcheck.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)