Skip to content

ci: build and security checks #1

ci: build and security checks

ci: build and security checks #1

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.26"
- name: Build
run: go build ./...
- name: Vet
run: go vet ./...
- name: Govulncheck
run: |
go install golang.org/x/vuln/cmd/govulncheck@latest
govulncheck ./...
- name: Gosec
run: |
go install github.com/securego/gosec/v2/cmd/gosec@latest
gosec -exclude=G104,G204,G706 ./...