Skip to content

Feature/init

Feature/init #6

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint-test:
name: Lint and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: '1.26'
cache: true
- name: Verify dependencies
run: go mod verify
- name: Run golangci-lint
run: |
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest
golangci-lint run
- name: Run tests
run: go test ./... -race -coverprofile=coverage.out
- name: Build
run: CGO_ENABLED=0 go build -o /dev/null ./cmd/krakenkey