-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
28 lines (27 loc) · 646 Bytes
/
citk.yml
File metadata and controls
28 lines (27 loc) · 646 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
# https://github.com/golangci/golangci-lint
name: CI tool kit
on:
pull_request:
jobs:
CITK:
name: Code style and tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version: "^1.18"
- name: Checkout branch
run: |
git fetch origin master:master
- name: Install citk tool
run: |
go install github.com/tjgurwara99/citk@latest
- name: Run citk tool
run: |
citk check -l go -b master