-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (29 loc) · 727 Bytes
/
ci.yml
File metadata and controls
36 lines (29 loc) · 727 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
name: Kuberenets state machine CI Pipeline
on:
push:
branches: [ main ]
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: ^1.22
- name: Check out code
uses: actions/checkout@v4
- name: Golangci-lint
uses: golangci/golangci-lint-action@v6
with:
args: --timeout 3m0s
- name: Execute Build
run: make build
- name: Execute unit-test
run: make test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}