Skip to content

Linux debug

Linux debug #9

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Run tests
run: go test ./... -cover
- name: Install gosec
run: go install github.com/securego/gosec/v2/cmd/gosec@latest
style:
name: Style
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Install staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@latest
- name: Install gofumpt
run: go install mvdan.cc/gofumpt@latest
- name: Check formatting
run: test -z "$(gofumpt -l .)"
- name: Run staticcheck
run: staticcheck ./...