Skip to content

Commit b186f88

Browse files
committed
chore: add workflows
1 parent 0d811ac commit b186f88

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
tags:
6+
- v*
7+
branches:
8+
- master
9+
- main
10+
pull_request:
11+
workflow_dispatch:
12+
13+
permissions:
14+
contents: read
15+
16+
jobs:
17+
build:
18+
runs-on: ubuntu-24.04
19+
20+
steps:
21+
- name: Checkout code
22+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
23+
with:
24+
submodules: recursive
25+
26+
- name: Set up Go
27+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
28+
with:
29+
go-version-file: go.mod
30+
31+
- name: make revendor
32+
run: make revendor
33+
34+
- name: make build
35+
run: make build
36+
37+
- name: make verify
38+
run: make verify
39+
40+
- name: make test
41+
run: make test

0 commit comments

Comments
 (0)