]> git.taranathan.com Git - FRC2027.git/commitdiff
add formatting workflow
authorTaran Nathan <moogoesmeow123@gmail.com>
Wed, 13 May 2026 23:39:57 +0000 (16:39 -0700)
committerTaran Nathan <moogoesmeow123@gmail.com>
Wed, 13 May 2026 23:40:05 +0000 (16:40 -0700)
.github/workflows/autofmt.yml [new file with mode: 0644]

diff --git a/.github/workflows/autofmt.yml b/.github/workflows/autofmt.yml
new file mode 100644 (file)
index 0000000..0e6131c
--- /dev/null
@@ -0,0 +1,15 @@
+name: Format
+
+on:
+  push:
+    branches: [ master ]
+
+jobs:
+
+  formatting:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v4 # v2 minimum required
+      - uses: axel-op/googlejavaformat-action@v4
+        with:
+          args: "--skip-sorting-imports --replace"