Skip to content

BREAKING CHANGE: v1 #12

BREAKING CHANGE: v1

BREAKING CHANGE: v1 #12

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build-format:
name: Build and Format
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Build
run: go build -v ./...
- name: Format
run: diff <(gofmt -d .) <(echo -n)
golangci-lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.22
cache: false
- name: GolangCI-Lint Check
uses: golangci/golangci-lint-action@v6