-
Notifications
You must be signed in to change notification settings - Fork 3
42 lines (40 loc) · 1.02 KB
/
pr-checks.yaml
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
name: pr-checks
on: # yamllint disable-line rule:truthy
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: code-checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: commit-msg-lint
uses: wagoid/commitlint-github-action@v5
- name: go-setup
uses: actions/setup-go@v5
with:
go-version: "1.20"
- name: no-format-change
run: make no-format-change
- name: go-lint
uses: golangci/golangci-lint-action@v3.6.0
with:
version: v1.53.3
- name: yaml-lint
uses: ibiqlik/action-yamllint@v3
build:
runs-on: ubuntu-latest
steps:
- name: code-checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: qemu-setup
uses: docker/setup-qemu-action@v2
- name: docker-setup
uses: docker/setup-buildx-action@v2
- name: docker-build
uses: docker/build-push-action@v4
with:
push: false