Skip to content

Commit

Permalink
replace terraform format check with nix fmt
Browse files Browse the repository at this point in the history
This now also checks terraform and more.
And it can run locally!
  • Loading branch information
Mic92 committed Aug 17, 2024
1 parent 778bca3 commit 2150420
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 24 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: CI

on:
push:
branches:
- master
pull_request:
merge_group:

permissions:
contents: read

jobs:
nix-fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v27
- run: nix fmt -- --fail-on-change
24 changes: 0 additions & 24 deletions .github/workflows/terraform-fmt.yml

This file was deleted.

0 comments on commit 2150420

Please sign in to comment.