Skip to content

Commit d90b562

Browse files
committed
Use trunk
1 parent 1ad1e1a commit d90b562

File tree

1 file changed

+4
-24
lines changed

1 file changed

+4
-24
lines changed

.github/workflows/code-quality.yml

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -5,36 +5,16 @@ on:
55
- master
66

77
jobs:
8-
static-analysis:
9-
name: Static Analysis
8+
trunk-code-quality:
9+
name: Trunk Code Quality
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout code
1313
uses: actions/checkout@v4
1414

15-
- name: Setup just
16-
uses: extractions/setup-just@v2
17-
env:
18-
github_token: ${{ github.token }}
19-
20-
- name: Setup go
21-
uses: actions/setup-go@v5
22-
with:
23-
go-version-file: ./go.mod
24-
25-
- name: Setup golangci-lint
26-
uses: golangci/golangci-lint-action@v6
27-
28-
- name: Run lint
29-
run: |
30-
just lint
15+
- name: Trunk Code Quality
16+
uses: trunk-io/trunk-action@v1
3117

3218
- name: Ensure go mod tidy
3319
run: |
3420
go mod tidy -diff
35-
36-
- name: Check spelling
37-
uses: streetsidesoftware/cspell-action@v6
38-
39-
- name: Lint YAML
40-
uses: karancode/yamllint-github-action@master

0 commit comments

Comments
 (0)