Initial commit

This commit is contained in:
Chun-Hung Tseng
2023-06-20 17:10:43 +02:00
parent 944c82c536
commit 6570484818
25 changed files with 2619 additions and 0 deletions

28
.github/workflows/check.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: Lint and Test
on: push
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Get sources
uses: actions/checkout@v3
- name: Set up Go 1.18
uses: actions/setup-go@v3
with:
go-version: '1.18'
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.50.0
args: --timeout=180s
skip-cache: true
# - name: Run tests
# run: go test -v ./...
# - name: Run tests with race check
# run: go test -v -race ./...