-
Notifications
You must be signed in to change notification settings - Fork 2
43 lines (37 loc) · 992 Bytes
/
ci.yml
File metadata and controls
43 lines (37 loc) · 992 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
40
41
42
43
name: CI
on:
push:
tags-ignore:
- "**"
branches:
- main
pull_request:
types:
- opened
- synchronize
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
actionci:
uses: ./.github/workflows/actionci.yml
permissions:
contents: read
security-events: write
lint-dummy-app: # NOTE(@azazeal): this check is here to verify that .golangci.yml is valid
name: Lint dummy app
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
submodules: true
- name: Run Linter
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
with:
working-directory: lintapp
version: latest
verify: true
args: --config=../.golangci.yml