Skip to content

Commit 3a6053a

Browse files
committed
1 parent e564b51 commit 3a6053a

File tree

17 files changed

+1176
-14
lines changed

17 files changed

+1176
-14
lines changed

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
version: 2
3+
updates:
4+
- package-ecosystem: "gomod" # See documentation for possible values
5+
directory: "/" # Location of package manifests
6+
schedule:
7+
interval: "weekly"

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
2+
name: CI
3+
4+
on:
5+
push:
6+
branches: [ master ]
7+
pull_request:
8+
branches: [ master ]
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
go: [ '1.21' ]
16+
steps:
17+
- uses: actions/checkout@v3
18+
19+
- name: Setup Go
20+
uses: actions/setup-go@v3
21+
with:
22+
go-version: ${{ matrix.go }}
23+
24+
- name: Run CI
25+
env:
26+
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
27+
run: make ci

.github/workflows/codeql.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
2+
name: "CodeQL"
3+
4+
on:
5+
push:
6+
branches: [ "master" ]
7+
pull_request:
8+
branches: [ "master" ]
9+
schedule:
10+
- cron: '16 8 * * 1'
11+
12+
jobs:
13+
analyze:
14+
name: Analyze
15+
runs-on: ubuntu-latest
16+
permissions:
17+
actions: read
18+
contents: read
19+
security-events: write
20+
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
language: [ 'go' ]
25+
26+
steps:
27+
- name: Checkout repository
28+
uses: actions/checkout@v3
29+
30+
- name: Initialize CodeQL
31+
uses: github/codeql-action/init@v2
32+
with:
33+
languages: ${{ matrix.language }}
34+
35+
- name: Perform CodeQL Analysis
36+
uses: github/codeql-action/analyze@v2
37+
with:
38+
category: "/language:${{matrix.language}}"

.gitignore

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
1-
# If you prefer the allow list template instead of the deny list, see community template:
2-
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
3-
#
4-
# Binaries for programs and plugins
51
*.exe
62
*.exe~
73
*.dll
84
*.so
95
*.dylib
10-
11-
# Test binary, built with `go test -c`
6+
*.db
7+
*.db-journal
8+
*.mmdb
129
*.test
13-
14-
# Output of the go coverage tool, specifically when used with LiteIDE
1510
*.out
1611

17-
# Dependency directories (remove the comment below to include it)
18-
# vendor/
12+
.idea/
13+
.vscode/
14+
.tools/
15+
16+
coverage.txt
17+
coverage.out
1918

20-
# Go workspace file
21-
go.work
22-
go.work.sum
19+
bin/
20+
vendor/
21+
build/

0 commit comments

Comments
 (0)