We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad01dcc commit 2174625Copy full SHA for 2174625
.github/workflows/lint.yml
@@ -0,0 +1,15 @@
1
+on:
2
+ push:
3
+ branches:
4
+ - main
5
+ pull_request:
6
+
7
+jobs:
8
+ lint:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v4
12
+ - name: Install packages
13
+ run: sudo apt-get update && sudo apt-get install -y shellcheck shfmt
14
+ - name: Lint
15
+ run: ./lint
lint
@@ -0,0 +1,14 @@
+#!/bin/bash
+set -e -u -x
+scripts=(
+ dotnet-build
+ dotnet-bump
+ dotnet-cleanup
+ dotnet-daily
+ dotnet-prepare
+ dotnet-release
+ dotnet-test-sdk
+ lint
+)
+shfmt -d -i 4 "${scripts[@]}"
+shellcheck -x "${scripts[@]}"
0 commit comments