Skip to content

Commit 312d360

Browse files
authored
chore: rename yml files to yaml (#35)
1 parent 37aef90 commit 312d360

File tree

6 files changed

+44
-23
lines changed

6 files changed

+44
-23
lines changed
Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ on:
66
push:
77
branches:
88
- "master"
9-
tags:
10-
- "!*"
119

1210
jobs:
1311
build:
@@ -44,22 +42,3 @@ jobs:
4442

4543
- name: Run tests
4644
run: go test -v -race -cover ./...
47-
48-
lint:
49-
name: Lint
50-
runs-on: ubuntu-22.04
51-
52-
steps:
53-
- name: Setup go
54-
uses: actions/setup-go@v2
55-
with:
56-
go-version: 1.19
57-
58-
- name: Checkout code
59-
uses: actions/checkout@v2
60-
61-
- name: Run golangci-lint
62-
uses: golangci/golangci-lint-action@v2
63-
with:
64-
# https://github.com/golangci/golangci-lint/releases/tag/v1.50.1
65-
version: v1.50.1

.github/workflows/commitlint.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Commitlint
2+
on: pull_request
3+
4+
jobs:
5+
lint:
6+
name: Commitlint
7+
runs-on: ubuntu-22.04
8+
9+
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@v2
12+
with:
13+
fetch-depth: 0
14+
15+
- name: Run commitlint
16+
uses: wagoid/commitlint-github-action@v5
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: GolangCI-Lint
2+
on:
3+
pull_request:
4+
branches:
5+
- '*'
6+
push:
7+
branches:
8+
- "master"
9+
10+
jobs:
11+
lint:
12+
name: GolangCI-Lint
13+
runs-on: ubuntu-22.04
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v2
18+
19+
- name: Setup go
20+
uses: actions/setup-go@v2
21+
with:
22+
go-version: 1.19
23+
24+
- name: Run golangci-lint
25+
uses: golangci/golangci-lint-action@v2
26+
with:
27+
# https://github.com/golangci/golangci-lint/releases/tag/v1.50.1
28+
version: v1.50.1
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Release
22
on:
33
push:
4-
branches:
5-
- "!*"
64
tags:
75
- "v*.*.*"
86

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)