Skip to content

feat: pizza generate insight command #401

feat: pizza generate insight command

feat: pizza generate insight command #401

Workflow file for this run

name: "Lint, test, and build"
on:
workflow_call:
push:
branches:
- main
pull_request:
types:
- opened
- edited
- synchronize
- reopened
permissions:
# So golangci-lint can read the contents of the lint yaml file
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.60
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- uses: extractions/setup-just@v2
- name: Test
run: just test
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- uses: extractions/setup-just@v2
- name: Build Go binary
run: just build