Skip to content

minor update

minor update #42

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.23'
- name: Build
run: make build
- name: Test
run: make test
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.60.3
- name: Run staticcheck
uses: dominikh/[email protected]
with:
version: "2024.1.1"
install-go: false
min-go-version: "1.23"
# - name: Run Gosec Security Scanner
# uses: securego/gosec@master
# env:
# GOSECGOVERSION: "go1.23.0"
# with:
# args: ./...