Skip to content

Commit 816f0e6

Browse files
committed
Initial pipeline
Signed-off-by: Alexander Dahmen <[email protected]>
1 parent 7a92b6c commit 816f0e6

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: CI Workflow
2+
3+
on:
4+
pull_request:
5+
workflow_dispatch:
6+
push:
7+
branches:
8+
- main
9+
10+
env:
11+
GO_VERSION: "1.23"
12+
13+
jobs:
14+
main:
15+
name: CI
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
21+
- name: Install Go ${{ env.GO_VERSION }}
22+
uses: actions/setup-go@v5
23+
with:
24+
go-version: ${{ env.GO_VERSION }}
25+
26+
- name: Build sdks
27+
run: make build
28+
29+
- name: Lint
30+
run: make lint_provider
31+
32+
config:
33+
name: Check GoReleaser config
34+
if: github.event_name == 'pull_request'
35+
runs-on: ubuntu-latest
36+
steps:
37+
- name: Checkout
38+
uses: actions/checkout@v4
39+
40+
- name: Check GoReleaser
41+
uses: goreleaser/goreleaser-action@v6
42+
with:
43+
args: check

0 commit comments

Comments
 (0)