File tree Expand file tree Collapse file tree 3 files changed +26
-2
lines changed
Expand file tree Collapse file tree 3 files changed +26
-2
lines changed Original file line number Diff line number Diff line change 1+ [default .extend-words ]
2+ muc = " muc" # For Munich location code
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ concurrency:
88 cancel-in-progress : ${{ github.ref != 'refs/heads/main' }}
99jobs :
1010 validate-readme-files :
11+ name : Validate README files
1112 runs-on : ubuntu-latest
1213 steps :
1314 - name : Check out code
2122 - name : Remove build file artifact
2223 run : rm ./contributors
2324 test-terraform :
25+ name : Validate Terraform output
2426 runs-on : ubuntu-latest
2527 steps :
2628 - name : Check out code
4042 run : bun install
4143 - name : Run tests
4244 run : bun test
45+ validate-style :
46+ name : Check for typos and unformatted code
47+ runs-on : ubuntu-latest
48+ steps :
49+ - name : Check out code
50+ uses : actions/checkout@v4
51+ - name : Install Bun
52+ uses : oven-sh/setup-bun@v2
53+ with :
54+ bun-version : latest
55+ - name : Install dependencies
56+ run : bun install
57+ - name : Validate formatting
58+ run : bun fmt:ci
59+ - name : Check for typos
60+ 61+ with :
62+ config : .github/typos.toml
63+ - name : Lint
64+ run : bun lint
Original file line number Diff line number Diff line change 22 "name" : " modules" ,
33 "scripts" : {
44 "test" : " bun test" ,
5- "fmt" : " bun x prettier -w **/*.sh .sample/run.sh new.sh **/*.ts **/*.md *.md && terraform fmt **/*.tf .sample/main .tf" ,
6- "fmt:ci" : " bun x prettier --check **/*.sh .sample/run.sh new.sh **/*.ts **/*.md *.md && terraform fmt -check **/*.tf .sample/main .tf" ,
5+ "fmt" : " bun x prettier --write **/*.sh **/*.ts **/*.md *.md && terraform fmt **/*.tf" ,
6+ "fmt:ci" : " bun x prettier --check **/*.sh **/*.ts **/*.md *.md && terraform fmt -check **/*.tf" ,
77 "update-version" : " ./update-version.sh"
88 },
99 "devDependencies" : {
You can’t perform that action at this time.
0 commit comments