Skip to content

Commit f9410c4

Browse files
committed
feat: add ci
1 parent ac608a5 commit f9410c4

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI
2+
on:
3+
push:
4+
branches: [main]
5+
pull_request:
6+
workflow_dispatch:
7+
8+
jobs:
9+
lint:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-go@v5
14+
- uses: pre-commit/[email protected]
15+
with:
16+
extra_args: --all-files
17+
18+
check:
19+
runs-on: ubuntu-latest
20+
if: always()
21+
needs:
22+
- lint
23+
steps:
24+
- uses: re-actors/alls-green@release/v1
25+
with:
26+
jobs: ${{ toJson( needs ) }}

0 commit comments

Comments
 (0)