syntax changes

This commit is contained in:
2025-10-26 02:20:56 +01:00
parent 480aa53d96
commit 2df76d1174
3 changed files with 35 additions and 38 deletions

21
build.yml Normal file
View File

@@ -0,0 +1,21 @@
name: Golang Linting
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: setup golang
uses: https://github.com/actions/setup-go@v4
with:
go-version: '1.21.x'
- name: Testing
run: |
go test -v ./...