Skip to content

code optimization

code optimization #167

Workflow file for this run

name: Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Run golint
run: |
go version
sudo apt install -y golint
cd src
golint
cd ..
echo done
- name: Download deps
run: |
cd src
go get -d -v
echo done
- name: Run go vet
run: |
cd src
go vet
echo done
- name: Run go test
run: |
cd src
go test
echo done