Skip to content

Commit c02619c

Browse files
committed
initial commit
1 parent 887cd13 commit c02619c

18 files changed

+2213
-2
lines changed

.editorconfig

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
root = true
2+
3+
[*]
4+
insert_final_newline = true
5+
charset = utf-8
6+
trim_trailing_whitespace = true
7+
indent_style = space
8+
indent_size = 2
9+
10+
[{Makefile,go.mod,go.sum,*.go,.gitmodules}]
11+
indent_style = tab
12+
indent_size = 2
13+
14+
[*.md]
15+
indent_size = 2
16+
trim_trailing_whitespace = false
17+
18+
eclint_indent_style = unset
19+
20+
[Dockerfile]
21+
indent_size = 2

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: gomod
4+
directory: /
5+
schedule:
6+
interval: weekly
7+
- package-ecosystem: npm
8+
directory: /
9+
schedule:
10+
interval: weekly

.github/workflows/ci.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CI
2+
on: [push]
3+
4+
permissions:
5+
contents: read
6+
7+
jobs:
8+
build:
9+
name: 'build, staticcheck, test'
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
go-version: ['1.24.5']
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- uses: actions/setup-go@v5
18+
with:
19+
go-version: ${{ matrix.go-version }}
20+
cache: false
21+
22+
- name: Install dependencies
23+
run: go get .
24+
25+
- name: Install staticcheck
26+
run: go install honnef.co/go/tools/cmd/staticcheck@latest
27+
28+
- name: Run staticcheck
29+
run: staticcheck ./...
30+
31+
- name: Test
32+
run: go test -v -cover
33+
34+
- name: Build
35+
run: go build

0 commit comments

Comments
 (0)