Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,10 @@ jobs:
with:
go-version-file: go.mod
cache-dependency-path: '**/go.sum'
- uses: golangci/golangci-lint-action@v6
with:
version: v1.62.2
skip-cache: true
args: --config .github/workflows/scripts/golangci.yaml
- name: Show System
run: |
uname -a
just sysinfo
- name: Run Go Test
run: |
just test

just init tidy lint test
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
*~
~*

# OS files
**/.DS_Store

# Build artifacts
site

# Go workspace file
go.work
go.work.sum

# Local source and binary files
.src/
.bin/

11 changes: 10 additions & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,14 @@ vet:
# apply golangci-lint linters on source tree
[group('lint')]
lint: vet
golangci-lint run --config .github/workflows/scripts/golangci.yaml
$GOBIN/golangci-lint run --config .github/workflows/scripts/golangci.yaml

# locally install build dependencies
[group('build')]
init:
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.62.2

# show host system information
[group('build')]
@sysinfo:
echo "{{os()/arch()}} {{num_cpus()}}c"