Skip to content

[chore] Added some better documentation of the flags needed to change #25

[chore] Added some better documentation of the flags needed to change

[chore] Added some better documentation of the flags needed to change #25

Workflow file for this run

name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
pull-requests: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21'
cache: false
- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
args: ./...
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: latest
only-new-issues: true # on PR only show new issues
skip-cache: true # avoid influencing caching that also hurts the build job