Skip to content

feat: seralization WIP #3

feat: seralization WIP

feat: seralization WIP #3

Workflow file for this run

name: tests
on:
pull_request:
branches: [main]
push:
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: '1.22'
- name: Run tests
run: go test ./... -cover
- name: Install gosec
run: go install github.com/securego/gosec/v2/cmd/gosec@latest
- name: run security checks
run: gosec ./...
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: '1.22'
- name: Run style checks
run: test -z $(go fmt ./...)
- name: Install staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@latest
- name: run staticcheck
run: staticcheck ./...