-
Notifications
You must be signed in to change notification settings - Fork 188
39 lines (36 loc) · 830 Bytes
/
go-lint.yml
File metadata and controls
39 lines (36 loc) · 830 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Go code linters
permissions:
contents: read
# Cancel workflow if there is a new change to the branch.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
on:
workflow_dispatch:
merge_group:
pull_request:
branches:
- main
paths:
- ".github/workflows/go-lint.yml"
- "go.work"
- "mise.toml"
- "f3-sidecar/**"
- "interop-tests/src/tests/**"
push:
branches:
- main
paths:
- ".github/workflows/go-lint.yml"
- "go.work"
- "mise.toml"
- "f3-sidecar/**"
- "interop-tests/src/tests/**"
jobs:
lint-go:
name: Go lint checks
runs-on: ubuntu-slim
steps:
- uses: actions/checkout@v6
- uses: jdx/mise-action@v4
- run: mise lint:golang